lunr.js - A JavaScript Library For Simple Full-Text Search In Your Browser
Join the DZone community and get the full member experience.
Join For Free
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
Published at DZone with permission of Hirvesh Munogee, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.
Comments