Package org.opensearch.analysis.common
Class EdgeNGramTokenFilterFactory
java.lang.Object
org.opensearch.index.AbstractIndexComponent
org.opensearch.index.analysis.AbstractTokenFilterFactory
org.opensearch.analysis.common.EdgeNGramTokenFilterFactory
- All Implemented Interfaces:
TokenFilterFactory,IndexComponent
public class EdgeNGramTokenFilterFactory extends AbstractTokenFilterFactory
-
Field Summary
Fields Modifier and Type Field Description static intSIDE_BACKstatic intSIDE_FRONTFields inherited from class org.opensearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger -
Method Summary
Modifier and Type Method Description booleanbreaksFastVectorHighlighter()org.apache.lucene.analysis.TokenStreamcreate(org.apache.lucene.analysis.TokenStream tokenStream)TokenFilterFactorygetSynonymFilter()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.index.analysis.TokenFilterFactory
getAnalysisMode, getChainAwareTokenFilterFactory, normalize
-
Field Details
-
SIDE_FRONT
public static final int SIDE_FRONT- See Also:
- Constant Field Values
-
SIDE_BACK
public static final int SIDE_BACK- See Also:
- Constant Field Values
-
-
Method Details
-
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream) -
breaksFastVectorHighlighter
public boolean breaksFastVectorHighlighter() -
getSynonymFilter
-