Re:Lyra: Fast, in-memory, typo-tolerant, full-text search en...
by jitl on Sunday July 31, 2022 @10:55PM
(#32301420)
I wonder how this compares to Flexsearch or the other benchmarked libraries here: https://github.com/nextapps-de/flexsearch#performance-benchm...
[ Parent
| on HN ]
Re:Lyra: Fast, in-memory, typo-tolerant, full-text search en...
by somishere on Monday August 01, 2022 @05:48AM
(#32303821)
I quite enjoy minisearch[1] which is also 0 dependencies, actively maintained, and I expect would work well in a worker environment. I dropped it into a service worker and plugged it with a simple point in polygon script to enable geosearch for a recent project[2] and it played v. nicely.
Re:Lyra: Fast, in-memory, typo-tolerant, full-text search en...
by micheleriva on Monday August 01, 2022 @03:32AM
(#32303147)
Lyra author here: I wouldn't compare it with other JS search engines for a simple reason: we'll be targeting edge execution (Cloudflare workers, lambda@edge, etc.), so the focus is really different
Re:Lyra: Fast, in-memory, typo-tolerant, full-text search en...
by kasbah on Monday August 01, 2022 @06:44AM
(#32304180)
Why does that matter? It seems you can run Lyra on the client and you can run other JS search engines on the "edge" (all that's needed is a JS runtime if I understand it correctly). It would be interesting to see how Lyra compares in these benchmarks.
Re:Lyra: Fast, in-memory, typo-tolerant, full-text search en...
by micheleriva on Monday August 01, 2022 @08:59AM
(#32305311)
We have a benchmark section in the repo and it's performing pretty well, we'll definitely run it against other engines!
Re:Lyra: Fast, in-memory, typo-tolerant, full-text search en...
by alessmar on Monday August 01, 2022 @08:32AM
(#32305053)
Current version of FlexSearch (0.7.2) is not typo tolerant, see https://github.com/nextapps-de/flexsearch/issues/118