uFuzzy
minisearch
Our great sponsors
uFuzzy | minisearch | |
---|---|---|
16 | 10 | |
2,502 | 4,081 | |
- | - | |
7.5 | 7.6 | |
2 months ago | 20 days 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
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?
fuzzysort - Fast SublimeText-like fuzzy search for JavaScript.
flexsearch - Next-Generation full text search library for Browser and Node.js
pagefind - Static low-bandwidth search at scale
lunr.js - A bit like Solr, but much smaller and not as bright
sotdsite - Code for sotd.fun.
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!
itemsjs - Extremely fast faceted search engine in JavaScript - lightweight, flexible, and simple to use
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)
obsidian-omnisearch - A search engine that "just works" for Obsidian. Supports OCR and PDF indexing.
list.js - The perfect library for adding search, sort, filters and flexibility to tables, lists and various HTML elements. Built to be invisible and work on existing HTML.
regex-benchmark - It's just a simple regex benchmark of different programming languages.