lunr-de

German language extension for lunr.js search engine

lunr.de.js - A German language extension for lunr.js

lunr.js is a simple text search engine implemented in JavaScript. lunr.de.js adds a German stop word filter and stemmer to the lunr.js pipeline, thus making text search more robust for German content.

Make sure to load both the core lunr.js and lunr.de.js extension. To build the index, use the convenience function lunr.de instead of lunr. lunr.de adds the German stop word filter and stemmer to the pipeline instead of the default English one.

Example:

var index = lunr.de(function() {
    this.field("title", 10);
    this.field("body");
})