Lyra
minisearch
Our great sponsors
Lyra | minisearch | |
---|---|---|
2 | 10 | |
457 | 4,066 | |
2.4% | - | |
4.0 | 7.9 | |
4 months ago | 18 days ago | |
C++ | JavaScript | |
Boost Software License 1.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.
Lyra
-
CLI11 is making all the other options libraries look bad, does anyone have a comparison from experience?
I love CLI11! It has been pretty easy all the way through. Used to use lyra before but since I wanted to have subgroups in Tolc I had to switch. Great job on CLI11 if the author is in the chat :)
-
Lyra: Fast, in-memory, typo-tolerant, full-text search engine in TypeScript
There is a name collision: https://github.com/bfgroup/Lyra. This is the successor of the clara C++ command line parsing library that was used in the catch2 unit testing framework.
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?
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!
flexsearch - Next-Generation full text search library for Browser and Node.js
Kraken - Kraken is an open-source modern math library that comes with a fast-fixed matrix class and math-related functions.
lunr.js - A bit like Solr, but much smaller and not as bright
Thrust - [ARCHIVED] The C++ parallel algorithms library. See https://github.com/NVIDIA/cccl
CLI11 - CLI11 is a command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface.
itemsjs - Extremely fast faceted search engine in JavaScript - lightweight, flexible, and simple to use
obsidian-omnisearch - A search engine that "just works" for Obsidian. Supports OCR and PDF indexing.
re.places - An in-cache, searchable database of 41,000 global cities. It’s designed as a light-weight polyfill for ‘cities’ in Algolia's places API, for when it sunsets in May 2022
regex-benchmark - It's just a simple regex benchmark of different programming languages.