Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

lunr.js - A JavaScript Library For Simple Full-Text Search In Your Browser

DZone's Guide to

lunr.js - A JavaScript Library For Simple Full-Text Search In Your Browser

· Web Dev Zone
Free Resource

Learn how to build modern digital experience apps with Crafter CMS. Download this eBook now. Brought to you in partnership with Crafter Software

lunr.js is a JavaScript library which implements a full-text search in your browser in a simple and easy way. lunr.js is designed to be small and fast, without you needing a server-side engine to implement the search engine.

lunr.js also has inbuilt filtering of stop words, which are common words in search queries which do not affect the way pages are retrieved.

lunr.js has no external dependencies and is written using ECMA5. Hence for browsers which do not support the latest version of JavaScript, you might need to use a shim.

Requirements: None
Website: http:/ / lunrjs. com/
Demo:http:/ / lunrjs. com/ example
License: MIT License



Crafter is a modern CMS platform for building modern websites and content-rich digital experiences. Download this eBook now. Brought to you in partnership with Crafter Software.

Topics:

Published at DZone with permission of Hirvesh Munogee, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.

X

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}