Fuse.js configuration missing? #720
-
I was trying to tune Fuse.js parameters and nothing worked... Search for "abc" returns the same number of results without any dependency on minMatchCharLength being 1 or 3. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 10 replies
-
Perhaps some parameters are hardcoded, and some lowercased?
|
Beta Was this translation helpful? Give feedback.
-
Done via #722 The following options are available now. hugo-theme-bootstrap/exampleSite/config/_default/params.toml Lines 160 to 169 in ce758a2 You could check the final Fuse.js options via console(verbose mode). |
Beta Was this translation helpful? Give feedback.
-
I suggest to use this style of "local" scratch (for "search" template),
I am trying to create template to generate JSON for Algolia, as in https://forestry.io/blog/search-with-algolia-in-hugo/
|
Beta Was this translation helpful? Give feedback.
Done via #722
The following options are available now.
hugo-theme-bootstrap/exampleSite/config/_default/params.toml
Lines 160 to 169 in ce758a2
You could check the final Fuse.js options via console(verbose mode).