Fuse
minisearch
Fuse | minisearch | |
---|---|---|
60 | 10 | |
17,504 | 4,081 | |
- | - | |
6.1 | 7.6 | |
about 1 month ago | 24 days ago | |
JavaScript | JavaScript | |
Apache License 2.0 | 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.
Fuse
-
Show HN: A fast, accurate and multilingual fuzzy search lib for the front end
oh very cool. would love to see the comparison/benchmark against the library I've used in projects for years (Fuse - https://github.com/krisk/Fuse).
Keep up the great work!
-
Releasing my first side project: Flag Finder!
It has the merit of being accomplished. Good work ! You can use https://fusejs.io/ to improve your search feature ;)
-
I have an array of objects and I want to add a "fuzzy search" method. Please help me choose a strategy.
I had a very similar task and solved it with https://fusejs.io/ and was very happy with the result. Great performance and was able to get the exact config I wanted very easily.
- More efficient way of searching through multiple children of a JSON
-
how to make a search bar actually function (as in actually search elemts from <div> in my nav bar)
You can use this https://fusejs.io/ library to implement a fuzzy search but you’ll have to put all the content you want to be searchable in a json along with the url it’s in so when you click on a result, you can redirect the user to the page you want.
- Fuse.js - a powerful, lightweight fuzzy-search library, with zero dependencies
- Fuse.js is a powerful, lightweight fuzzy-search library, with zero dependencies
- What is your go to client-side fuzzy searching library?
- Best solution for typing suggestions with a huge array?
-
Search box and results component
Check the docs for your component system's text input component. Not all have specific autocomplete Search components like MUI, you might have to make your own out of your library's text input and menu components plus a fuzzy search library like Fuse.js.
minisearch
-
Character and Subsector generators for Classic Traveller, with TAS Forms!
I wrote an online catalog a while back (and I need to get back on adding graphics and products at some point). It’s written using Eleventy and the minisearch library. The source and data are available on Github if you want to see how I did things. I’m not a professional web designer either, but it was a fun project.
- What is your go to client-side fuzzy searching library?
-
Meilisearch v1.0 – the open-source Rust alternative to Algolia and Elasticsearch
You could have a look at https://github.com/lucaong/minisearch/
-
What do you use for site search? Custom built solution? Meilisearch? Algolia?
If you're dealing with thousands of records or less, searching titles and summaries rather than long bodies of text, I recommend looking into client-side solutions. Nothing beats the responsiveness of search-as-you-type entirely on the client side. It can be fairly sophisticated fulltext search. For example, I've built had great success with MiniSearch.
- MiniSearch – fuzzy match search in TypeScript
- Minisearch: Tiny, powerful JavaScript full-text search engine for browser, Node
-
Lyra: Fast, in-memory, typo-tolerant, full-text search engine in TypeScript
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.
[1] https://github.com/lucaong/minisearch
-
I highly recommend the Omnisearch plugin.
No magic here, the underlying engine is Minisearch, which uses the BM25 algorithm (the de facto standard among search libraries). Omnisearch adds a magic sauce during indexing by converting notes into custom objects, with the following fields: - body (the plain markdown text) - filename & yaml aliases - level 1 headers - level 2 headers - level 3 headers
-
For lovers of instant search and Ctrl+K menus, we made an open-source tool to add that to your website in 2 steps: 1. Enter your URL 2. Add code snippet to <head>. Links and code in comments!
It's actually really simple! Minisearch did most of the heavy lifting so all we needed to do was the crawling, storing and UI etc. I'd check that out if you're interested in the search part!
-
I made a tool to add instant search to your site in 2 steps: 1. Enter your URL 2. Add code snippet to <head>. Links in comments!
We use MiniSearch for searching, while fast-fuzzy is used for highlighting of detected search terms.
What are some alternatives?
flexsearch - Next-Generation full text search library for Browser and Node.js
Next.js - The React Framework
lunr.js - A bit like Solr, but much smaller and not as bright
fuzzyset.js - fuzzyset.js - A fuzzy string set for javascript
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!
node-sqlite3 - SQLite3 bindings for Node.js
itemsjs - Extremely fast faceted search engine in JavaScript - lightweight, flexible, and simple to use
fzf-for-js - Do fuzzy matching using FZF algorithm in JavaScript
obsidian-omnisearch - A search engine that "just works" for Obsidian. Supports OCR and PDF indexing.
Vue.js - This is the repo for Vue 2. For Vue 3, go to https://github.com/vuejs/core
regex-benchmark - It's just a simple regex benchmark of different programming languages.