Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.08 KB

README.md

File metadata and controls

31 lines (23 loc) · 1.08 KB

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

Build Status

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.

Usage

Include the plugin into a lunr index using lunr.Index.prototype.use. This plugin will replace the default stopword filter and stemmer with a German language specifc filter and stemmer.

Example:

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

Credits