Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to support lunr 2.x #30

Closed
wants to merge 1 commit into from

Commits on Mar 12, 2017

  1. Upgrade to support lunr 2.x

    Lunr 2.x has changed the interface for pipeline functions, instead of
    just passing around strings, tokens are now represented as an instance
    of lunr.Token.
    
    Additionally, Lunr now supports per index tokenisers, this allows the JP
    plugin to not have to clobber the global lunr.tokenizer function. This
    is fine for when building the index, but queries are parsed by
    lunr.QueryParser which may need some help when it comes to parsing
    Japanese searches. Currently there is no extension point for the query
    parser so we may need to do some work here.
    
    This commit also includes updates for the demos.
    olivernn committed Mar 12, 2017
    Configuration menu
    Copy the full SHA
    cdb1420 View commit details
    Browse the repository at this point in the history