News for hackers. Stuff that matters.
Re:An alternative to Elasticsearch that runs on a few MBs of... by Bilal_io on Monday October 24, 2022 @10:31AM (#33317140)
Hey that's a great list of tools.

Are you aware of any that can be used client side like Lyra and supports faceted search?

I've been looking for a solution and cannot find it, even an algorithm and/or a data structure can be helpful. I attempted coming up with a solution myself but ended up with frustration when it came to making the facets dynamic and update as other filters are applied.

I read a couple of papers and one stood out [0], which introduces category theory as a solution to faceted filtering. I understood it in theory and it was still does not seem straight forward to implement but I haven't attempted yet.

0. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5145200/#!po=28...

Re:An alternative to Elasticsearch that runs on a few MBs of... by hardwaresofton on Monday October 24, 2022 @10:40AM (#33317294)
So for client-side search, I generally know of Lunr.js:

https://lunrjs.com/docs/index.html

There are some others but I can't find them at this moment -- a bunch of the other projects I find are somewhat abandoned, lunr is actually on my list of things to use (because it makes the most sense to just ship a pre-built index with the first like... 5 letters maybe of typeahead, no matter how fast the backend is)

Re:An alternative to Elasticsearch that runs on a few MBs of... by Bilal_io on Monday October 24, 2022 @11:12AM (#33317778)
Thanks for the link. This unfortunately is not what I am looking for. Faceted filters are a different beast.