lunr-de

0.1.2 • Public • Published

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

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");
})

Credits

Readme

Keywords

none

Package Sidebar

Install

npm i lunr-de

Weekly Downloads

1

Version

0.1.2

License

MIT

Last publish

Collaborators

  • severinh