elasticlunr.js
fuzzysort
elasticlunr.js | fuzzysort | |
---|---|---|
10 | 7 | |
2,014 | 3,490 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | about 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.
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.
fuzzysort
-
Autocomplete â a JavaScript library for building autocomplete experiences
I use [1] for searching a fully static site
[1] https://github.com/farzher/fuzzysort
- What is your go to client-side fuzzy searching library?
-
How to prevent duplicate data in DB?
Use something like fuzzysort, to compare user input to what currently exists in the DB. If there are no good match scores, when comparing user input for "job title" to what exists in the DB, you can proceed with creating an entry. However, if there is a match, you can respond to the front-end with the best match, and use it to autofill the form (or provide some kind of feedback for the end user). Your web server should perform match score verification before adding a new job title to the DB.
-
Search autofill suggestions for 20k+ items
This one perhaps fuzzy sort
- GitHub - farzher/fuzzysort: Fast SublimeText-like fuzzy search for JavaScript.
- Fuzzysort: Fast, Tiny, & Good SublimeText-like fuzzy search for JavaScript
-
Self-Contained Search for Archived Static Site?
I use fuzzysort for one of my static site search results
https://github.com/farzher/fuzzysort
What are some alternatives?
flexsearch - Next-Generation full text search library for Browser and Node.js
stork - ð Impossibly fast web search, made for static sites.
typesense-autocomplete-demo - A demo app that shows you how to use Algolia's autocomplete.js library with Typesense
doctave - A batteries-included developer documentation site generator
uFuzzy - A tiny, efficient fuzzy search that doesn't suck
elasticlunr-rs - A partial port of elasticlunr to Rust. Intended to be used for generating compatible search indices.
lunr.js - A bit like Solr, but much smaller and not as bright
faustjs - Faust.js⢠- The Headless WordPress Framework
autocomplete - ð® Fast and full-featured autocomplete library
Fuse - Lightweight fuzzy-search, in JavaScript