Package org.elasticsearch.index.analysis
Class ShingleTokenFilterFactory.Factory
java.lang.Object
org.elasticsearch.index.analysis.ShingleTokenFilterFactory.Factory
- All Implemented Interfaces:
TokenFilterFactory
- Enclosing class:
- ShingleTokenFilterFactory
public static final class ShingleTokenFilterFactory.Factory
extends Object
implements TokenFilterFactory
-
Field Summary
Fields inherited from interface org.elasticsearch.index.analysis.TokenFilterFactory
IDENTITY_FILTER
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.elasticsearch.index.analysis.TokenFilterFactory
breaksFastVectorHighlighter, getAnalysisMode, getChainAwareTokenFilterFactory, getSynonymFilter, normalize
-
Constructor Details
-
Factory
-
-
Method Details
-
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)- Specified by:
create
in interfaceTokenFilterFactory
-
getMaxShingleSize
public int getMaxShingleSize() -
getMinShingleSize
public int getMinShingleSize() -
getOutputUnigrams
public boolean getOutputUnigrams() -
getOutputUnigramsIfNoShingles
public boolean getOutputUnigramsIfNoShingles() -
name
- Specified by:
name
in interfaceTokenFilterFactory
-