Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    lunr-depublic

    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

    Keywords

    none

    install

    npm i lunr-de

    Downloadsweekly downloads

    1

    version

    0.1.2

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar