{"slug": "lunr-js", "name": "Lunr.js", "category": "dev-libs", "category_name": "Libraries and frameworks", "description": "", "recommenders": 5, "commenters": 7, "warners": 1, "score": 3.558, "rising": -1.64, "first": "2025-12-17", "latest": "2026-01-13", "why": "it has lots of options for things like different fields, complex queries, fuzzy searching and wildcards.", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 5, "neutral": 1, "compare": 0, "warn": 1}, "spark": [0, 1, 4, 0, 0, 0, 0, 0, 0, 0, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "it has lots of options for things like different fields, complex queries, fuzzy searching and wildcards.", "kind": "", "icon": false, "domain": "lunrjs.com", "github_repo": null, "official_url": "https://lunrjs.com", "pricing": "", "aliases": ["Lunr.js", "Lunr", "lunr.js"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 745766912, "item_id": 46610432, "url": "https://news.ycombinator.com/item?id=46610432", "by": "captn3m0", "date": "2026-01-13", "version": null, "stance": "recommend", "quote": "We use at endoflife.date, and are fairly happy.", "excerpt": "We use at endoflife.date, and are fairly happy. We had to add a workaround to get some search terms working (because of how it does stemming, searching for BSD wouldn't show openbsd earlier): https://github.com/endoflife-date/endoflife.date/issues/4924), but it is still not 100% perfect: searching for fusion still doesn't get you coldfusion.", "context": "endoflife.date", "use_case": "static docs site search", "switched_from": "", "story": "You Don't Need Mintlify"}, {"id": 745717712, "item_id": 46607357, "url": "https://news.ycombinator.com/item?id=46607357", "by": "nicbou", "date": "2026-01-13", "version": null, "stance": "recommend", "quote": "It's simple and effective", "excerpt": "I use Lunr on allaboutberlin.com. It's simple and effective, but searching the whole content would have required loading more files than I was comfortable with. Therefore it only searches titles and descriptions. There are probably workarounds, but it's the only limitation I can think of. Otherwise Lunr just works.", "context": "", "use_case": "static site search", "switched_from": "", "story": "You Don't Need Mintlify"}, {"id": 745714480, "item_id": 46607155, "url": "https://news.ycombinator.com/item?id=46607155", "by": "jorams", "date": "2026-01-13", "version": null, "stance": "recommend", "quote": "It's quite good.", "excerpt": "Basically every Elixir package's docs include search based on Lunr, as it's included by default by ExDoc[1]. It's quite good. [1]: https://hexdocs.pm/ex_doc/", "context": "", "use_case": "Client-side static site search", "switched_from": "", "story": "You Don't Need Mintlify"}, {"id": 743822944, "item_id": 46488934, "url": "https://news.ycombinator.com/item?id=46488934", "by": "seanwilson", "date": "2026-01-04", "version": null, "stance": "recommend", "quote": "it has lots of options for things like different fields, complex queries, fuzzy searching and wildcards.", "excerpt": "I've used https://lunrjs.com/guides/getting_started.html briefly and it has lots of options for things like different fields, complex queries, fuzzy searching and wildcards. Didn't notice anything specific about dates but you could always add date as a field then filter out a date range manually at the end. I'm sure there's better libraries now as well.", "context": "", "use_case": "Client-side search", "switched_from": "", "story": "Jeffgeerling.com has been Migrated to Hugo"}, {"id": 740841792, "item_id": 46302612, "url": "https://news.ycombinator.com/item?id=46302612", "by": "hunvreus", "date": "2025-12-17", "version": null, "stance": "recommend", "quote": "I'll add later on this week using lunr.js", "excerpt": "Appreciated. That's pretty much what I was going for. The only thing I think is missing is a proper full text search which I'll add later on this week using lunr.js [1]. I just didn't have the time to get it done for this release. [1]: https://lunrjs.com/", "context": "", "use_case": "Full-text search for docs", "switched_from": "", "story": "Show HN: ReallySimpleDocs - A minimal docs template built with 11ty and Tailwind"}]}], "caveats": [{"label": "", "summary": "", "quotes": [{"id": 745722640, "item_id": 46607665, "url": "https://news.ycombinator.com/item?id=46607665", "by": "butz", "date": "2026-01-13", "version": null, "stance": "warn", "quote": "creates some hiccups on website during load", "excerpt": "I think https://develop.kde.org/docs/ is using lunrjs for search, but downloading and parsing almost 2MB file of search data creates some hiccups on website during load.", "context": "", "use_case": "", "switched_from": "", "story": "You Don't Need Mintlify"}]}], "who": [{"by": "captn3m0", "context": "endoflife.date", "url": "https://news.ycombinator.com/item?id=46610432", "date": "2026-01-13"}], "tags": [], "use_cases": ["static docs site search", "static site search", "client-side static site search", "client-side search", "full-text search for docs"], "compared": [], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=46596823", "title": "You Don't Need Mintlify", "mentions": 5}, {"url": "https://news.ycombinator.com/item?id=46487498", "title": "Jeffgeerling.com has been Migrated to Hugo", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46302476", "title": "Show HN: ReallySimpleDocs - A minimal docs template built with 11ty and Tailwind", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {"recommend": 1}, "2026-01": {"recommend": 4, "neutral": 1, "warn": 1}, "2026-02": {}, "2026-03": {}, "2026-04": {}, "2026-05": {}, "2026-06": {}, "2026-07": {}, "2026-08": {}, "2026-09": {}, "2026-10": {}}, "versions": [], "version_unnamed": 0, "family_ref": null, "runs_on": null, "lines": [], "quotes": [{"id": 745766912, "item_id": 46610432, "url": "https://news.ycombinator.com/item?id=46610432", "by": "captn3m0", "date": "2026-01-13", "version": null, "stance": "recommend", "quote": "We use at endoflife.date, and are fairly happy.", "excerpt": "We use at endoflife.date, and are fairly happy. We had to add a workaround to get some search terms working (because of how it does stemming, searching for BSD wouldn't show openbsd earlier): https://github.com/endoflife-date/endoflife.date/issues/4924), but it is still not 100% perfect: searching for fusion still doesn't get you coldfusion.", "context": "endoflife.date", "use_case": "static docs site search", "switched_from": "", "story": "You Don't Need Mintlify"}, {"id": 745722640, "item_id": 46607665, "url": "https://news.ycombinator.com/item?id=46607665", "by": "butz", "date": "2026-01-13", "version": null, "stance": "warn", "quote": "creates some hiccups on website during load", "excerpt": "I think https://develop.kde.org/docs/ is using lunrjs for search, but downloading and parsing almost 2MB file of search data creates some hiccups on website during load.", "context": "", "use_case": "", "switched_from": "", "story": "You Don't Need Mintlify"}, {"id": 745717712, "item_id": 46607357, "url": "https://news.ycombinator.com/item?id=46607357", "by": "nicbou", "date": "2026-01-13", "version": null, "stance": "recommend", "quote": "It's simple and effective", "excerpt": "I use Lunr on allaboutberlin.com. It's simple and effective, but searching the whole content would have required loading more files than I was comfortable with. Therefore it only searches titles and descriptions. There are probably workarounds, but it's the only limitation I can think of. Otherwise Lunr just works.", "context": "", "use_case": "static site search", "switched_from": "", "story": "You Don't Need Mintlify"}, {"id": 745714480, "item_id": 46607155, "url": "https://news.ycombinator.com/item?id=46607155", "by": "jorams", "date": "2026-01-13", "version": null, "stance": "recommend", "quote": "It's quite good.", "excerpt": "Basically every Elixir package's docs include search based on Lunr, as it's included by default by ExDoc[1]. It's quite good. [1]: https://hexdocs.pm/ex_doc/", "context": "", "use_case": "Client-side static site search", "switched_from": "", "story": "You Don't Need Mintlify"}, {"id": 745712448, "item_id": 46607028, "url": "https://news.ycombinator.com/item?id=46607028", "by": "gingersnap", "date": "2026-01-13", "version": null, "stance": "neutral", "quote": "has anyone tried a static pre-generated search like https://lunrjs.com/", "excerpt": "Talking about search on a static docs site, has anyone tried a static pre-generated search like https://lunrjs.com/ ?", "context": "", "use_case": "", "switched_from": "", "story": "You Don't Need Mintlify"}, {"id": 743822944, "item_id": 46488934, "url": "https://news.ycombinator.com/item?id=46488934", "by": "seanwilson", "date": "2026-01-04", "version": null, "stance": "recommend", "quote": "it has lots of options for things like different fields, complex queries, fuzzy searching and wildcards.", "excerpt": "I've used https://lunrjs.com/guides/getting_started.html briefly and it has lots of options for things like different fields, complex queries, fuzzy searching and wildcards. Didn't notice anything specific about dates but you could always add date as a field then filter out a date range manually at the end. I'm sure there's better libraries now as well.", "context": "", "use_case": "Client-side search", "switched_from": "", "story": "Jeffgeerling.com has been Migrated to Hugo"}, {"id": 740841792, "item_id": 46302612, "url": "https://news.ycombinator.com/item?id=46302612", "by": "hunvreus", "date": "2025-12-17", "version": null, "stance": "recommend", "quote": "I'll add later on this week using lunr.js", "excerpt": "Appreciated. That's pretty much what I was going for. The only thing I think is missing is a proper full text search which I'll add later on this week using lunr.js [1]. I just didn't have the time to get it done for this release. [1]: https://lunrjs.com/", "context": "", "use_case": "Full-text search for docs", "switched_from": "", "story": "Show HN: ReallySimpleDocs - A minimal docs template built with 11ty and Tailwind"}]}