3 ms·
If you can pre-build the index, Lunr seems to work well, but it doesn't support Chinese. R/bookdown switched for these reasons recently to fuse.js. There is di
by jtbayly 5y ago
If you can pre-build the index, Lunr seems to work well, but it doesn't support Chinese. R/bookdown switched for these reasons recently to fuse.js.
There is discussion of some of the other options and their tradeoffs here:
https://github.com/rstudio/bookdown/issues/1031 https://github.com/rstudio/bookdown/issues/1031