Example usage for org.apache.lucene.analysis.hunspell HunspellStemFilter HunspellStemFilter

List of usage examples for org.apache.lucene.analysis.hunspell HunspellStemFilter HunspellStemFilter

Introduction

In this page you can find the example usage for org.apache.lucene.analysis.hunspell HunspellStemFilter HunspellStemFilter.

Prototype

public HunspellStemFilter(TokenStream input, Dictionary dictionary, boolean dedup, boolean longestOnly) 

Source Link

Document

Creates a new HunspellStemFilter that will stem tokens from the given TokenStream using affix rules in the provided Dictionary

Usage

From source file:org.elasticsearch.index.analysis.HunspellTokenFilterFactory.java

License:Apache License

@Override
public TokenStream create(TokenStream tokenStream) {
    return new HunspellStemFilter(tokenStream, dictionary, dedup, recursionLevel);
}