uFuzzy
elasticlunr.js
Our great sponsors
uFuzzy | elasticlunr.js | |
---|---|---|
16 | 10 | |
2,502 | 2,014 | |
- | - | |
7.5 | 0.0 | |
2 months ago | over 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
uFuzzy
-
Show HN: A fast, accurate and multilingual fuzzy search lib for the front end
Thank you. We need more libs like that. I just researched the field yesterday and https://github.com/leeoniya/uFuzzy looked pretty good. But there is a gap in the market of such libs. Just few allow to send the whole html document, serialize and deserialize index to be used in browser, highlighting the matches is desired feature.
Most importantly very few fuzzy search libs can get a simple substring match as a priority, which is understandable but not helpful. Imagine searching for “xample” and not having “example” among the results.
-
PruningRadixTrie – 1000x faster Radix trie for prefix search and auto-complete
interesting, i made something much more stupid but brutally effective: https://github.com/leeoniya/uFuzzy
i guess if you wanted to do sorting by contact frequency you can just keep the original haystack sorted by frequency, and get Richard match first.
-
List.js - Tiny, invisible and simple, yet powerful and incredibly fast vanilla JavaScript that adds search, sort, filters and flexibility to plain HTML lists, tables, or anything
allow me to self-promote https://github.com/leeoniya/uFuzzy
- What is your go to client-side fuzzy searching library?
-
Sotd.fun is live
Keep the tech simple and minimal. Just the basics: javascript, css, HTML. No react or other frameworks. No tech for tech's sake. I did use one very excellent search library uFuzzy.
- uFuzzy 1.0 - A tiny, efficient fuzzy search that doesn't suck
-
uFuzzy.js – A tiny, efficient fuzzy search that doesn't suck
maybe habit, maybe less devDependencies, maybe wanting to hand-author a readable/commented form of https://github.com/leeoniya/uFuzzy/blob/main/dist/uFuzzy.d.ts?
- Show HN: uFuzzy.js – A tiny, efficient fuzzy search that doesn't suck
elasticlunr.js
-
Show HN: A fast, accurate and multilingual fuzzy search lib for the front end
When i did my static site search function some time ago, I used Elasticlunr. I was able to pregenerate the index file as a big json file that is loaded at the client.
http://elasticlunr.com/
-
Ask HN: What's the best way to add search to my website?
If your content is mostly static, you might want to consider pre-building an index and shipping it as a whole. You could look into something like
* https://stork-search.net/ (Rust/WASM)
* tinysearch: https://github.com/tinysearch/tinysearch (Rust/WASM)
* https://lunrjs.com/ (JS, simple, stable)
* http://elasticlunr.com/ - based on the former, slightly more sophisticated tuning options
- How to build question / answer action?
- Self-Contained Search for Archived Static Site?
-
Writing a Fuzzy Search Component With Preact and Fuse for Astro
Very nice! Seems to perform very well. I'm curious, have you compared Fuse with other search engines? Like flex search or elasticlunr? Why did you choose fuse ?
-
How do you build search for a web app?
Check out elasticlunr
-
Ask HN: What do you use to power search for a static site?
There's also Elasticlunr which is based off of lunr.js and is what mdBook uses
http://elasticlunr.com/
-
Elasticlunr, a full-text search library for Elixir
Does this relate to http://elasticlunr.com/? mdBook uses the latter, and I was wondering how I can parse/read its indexes from Python so I can provide my own search from them.
-
Goodbye Wordpress, Hello Jamstack
Same as above, for most blogs something like http://elasticlunr.com/ can get the job done really well.
3. HotSwap on the fly themes
-
Doctave CLI 0.2.0: A Benchmarking Story
Doctave comes with offline search built in. We use the elasticlunr-rs crate to generate a search index that is compatible with the elasticlunr.js library. You can see it in action by going to our docs (built with the CLI, naturally) and hitting the letter s on your keyboard to focus on the search bar. The searching happens entirely client-side.
What are some alternatives?
fuzzysort - Fast SublimeText-like fuzzy search for JavaScript.
flexsearch - Next-Generation full text search library for Browser and Node.js
minisearch - Tiny and powerful JavaScript full-text search engine for browser and Node
stork - 🔎 Impossibly fast web search, made for static sites.
pagefind - Static low-bandwidth search at scale
doctave - A batteries-included developer documentation site generator
sotdsite - Code for sotd.fun.
elasticlunr-rs - A partial port of elasticlunr to Rust. Intended to be used for generating compatible search indices.
orama - 🌌 Fast, dependency-free, full-text and vector search engine with typo tolerance, filters, facets, stemming, and more. Works with any JavaScript runtime, browser, server, service!
faustjs - Faust.js™ - The Headless WordPress Framework
bootstrap-table - An extended table to integration with some of the most widely used CSS frameworks. (Supports Bootstrap, Semantic UI, Bulma, Material Design, Foundation, Vue.js)
lunr.js - A bit like Solr, but much smaller and not as bright