Zola is great; I’m using it for my blog (Code of Honor) and I love how fast it builds/runs compared to all the javascript builders.
I added search to my site, and discovered it does not work running locally, only in production, because the search indices (elasticlunr/fuse) use the full url instead of the path. That causes the local build to use the production index.
By removing the domain component my index works on local & production, and reduces size by 16% (1.8MB → 1.5MB).
Right now I’m using sed to post-process the index after it’s created, but it’s an easy fix to change zola ( search: use relative paths when building search indexes by webcoyote · Pull Request #1 · webcoyote/zola · GitHub ) to generate the same results.
This comment ( Search Improvement - #24 by keats ) suggests there might be issues. I’ve tested this for my site with both elasticlunr and fuse and they both function correctly.
(Incidentally I’m also zipping my index to search_index.en.json.gzz, which brings it down to 183K).
Glad to send my PR if desired.