Search in sources :

Example 1 with ClassicTokenizer

use of org.apache.lucene.analysis.standard.ClassicTokenizer in project elasticsearch by elastic.

the class ClassicTokenizerFactory method create.

@Override
public Tokenizer create() {
    ClassicTokenizer tokenizer = new ClassicTokenizer();
    tokenizer.setMaxTokenLength(maxTokenLength);
    return tokenizer;
}
Also used : ClassicTokenizer(org.apache.lucene.analysis.standard.ClassicTokenizer)

Aggregations

ClassicTokenizer (org.apache.lucene.analysis.standard.ClassicTokenizer)1