Software Alternatives & Reviews

Lunr.js VS Elasticlunr

Compare Lunr.js VS Elasticlunr and see what are their differences

Lunr.js logo Lunr.js

A bit like Solr, but much smaller and not as bright

Elasticlunr logo Elasticlunr

Lightweight full-text search engine in Javascript for browser search and offline search.
Not present
  • Elasticlunr Landing page
    Landing page //
    2019-09-27

Lunr.js videos

BxJS Website - News deduplication tool with elasticlunr.js

Elasticlunr videos

No Elasticlunr videos yet. You could help us improve this page by suggesting one.

+ Add video

Category Popularity

0-100% (relative to Lunr.js and Elasticlunr)
Custom Search Engine
35 35%
65% 65
Custom Search
41 41%
59% 59
Search Engine
41 41%
59% 59
Search API
36 36%
64% 64

User comments

Share your experience with using Lunr.js and Elasticlunr. For example, how are they different and which one is better?
Log in or Post with

Social recommendations and mentions

Based on our record, Elasticlunr seems to be more popular. It has been mentiond 7 times since March 2021. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.

Lunr.js mentions (0)

We have not tracked any mentions of Lunr.js yet. Tracking of Lunr.js recommendations started around Feb 2024.

Elasticlunr mentions (7)

  • 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/. - Source: Hacker News / 3 months ago
  • 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 (JS, simple, stable) * http://elasticlunr.com/ - based on the former, slightly more sophisticated tuning options. - Source: Hacker News / 7 months ago
  • Self-Contained Search for Archived Static Site?
    There are a few client-side libraries like Lunr [1] or Elasticlunr [2]. For my recent project I went with a server-side approach using Stork [3]. It also provides a script to be used on the client. [1] https://lunrjs.com/ [2] http://elasticlunr.com/ [3] https://stork-search.net/. - Source: Hacker News / over 1 year ago
  • 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 ? Source: almost 2 years ago
  • 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/. - Source: Hacker News / over 2 years ago
View more

What are some alternatives?

When comparing Lunr.js and Elasticlunr, you can also consider the following products

Apache Solr - Solr is an open source enterprise search server based on Lucene search library, with XML/HTTP and...

ItemsAPI - ItemsAPI is open source search API for creating mobile and web application

Sphinx (search engine) - Sphinx is a fulltext FLOSS search engine that provides text search functionality to client applications. Sphinx (search engine) - WikiMili, The Free Encyclopedia - WikiMili, The Free Encyclopedia

Stork Search - Full-text, WASM-powered search for static sites

ElasticSearch - Elasticsearch is an open source, distributed, RESTful search engine.

Milvus - Vector database built for scalable similarity search Open-source, highly scalable, and blazing fast.