What's the file size of the index? Is it just encoded in JSON?
Re:Static Sites with Elasticsearch
by kevinastone on Sunday May 03, 2020 @12:08AM
(#23056797)
Yes, it's encoded json for lunr.js. Here's the index for my static-site blog: https://blog.kevinastone.com/search_index.json. It's 305kb un-compressed at the moment (38kb gzipped).
I've been developing a podcast hosting solution that parses the xml feed, generate static pages and prebuilds a lunr index, and for ~100 posts, it takes around 30 seconds to build server side and less than a second to download and and load on the client.