#1081 has been stuck for a while, so I tried implementing my own version.
Preview the search functionality online
Inspired by #1496.
Major implementation steps:
Unresolved questions:
Should search-non-english feature be enabled by default? (Not likely, since it causes severe binary size bloat)
- Should each supported language have an individual feature flag? Would it make the feature flag list too noisy?
- Should we consider other search solutions than elasticlunr.js & lunr-languages?
- Should the new "fallback" search implementation apply to English books as well?
#1081 has been stuck for a while, so I tried implementing my own version.
Preview the search functionality online
Inspired by #1496.
Major implementation steps:
elasticlunr-rs's indexing implemantation (detail)Unresolved questions:
Should(Not likely, since it causes severe binary size bloat)search-non-englishfeature be enabled by default?Footnotes