Mar 12, 2013

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.