Skip to content

severinh/lunr.de.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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