FlexSearch configuration to honor canonifyURL? #829
-
Hi Team, Huge thanks for all the help, because of which I am now about to deploy my site live. But I am using I see Hinode uses Flex Search, is there a setting where I can configure this, or fix this? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I have released mod-flexsearch v1.10.0 that includes a new configuration option. Upgrade your module reference to [params.modules.flexsearch]
canonifyURLs = true In this mode, the search index will use absolute URLs instead of relative URLs. Hopefully this will resolve your issue. |
Beta Was this translation helpful? Give feedback.
-
You can exclude individual pages from the search index by adding the following setting to the page's frontmatter: ---
searchExclude: true
--- The flex search options are documented in the mod-flexsearch repo. They are not included in the main docs yet... |
Beta Was this translation helpful? Give feedback.
I have released mod-flexsearch v1.10.0 that includes a new configuration option. Upgrade your module reference to
mod-flexsearch
to this version and add the following configuration to your site configuration (e.g.hugo.toml
):In this mode, the search index will use absolute URLs instead of relative URLs. Hopefully this will resolve your issue.