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_FRONT-
Fields inherited from class org.opensearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger
-
Fields inherited from interface org.opensearch.index.analysis.TokenFilterFactory
IDENTITY_FILTER
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbreaksFastVectorHighlighter()org.apache.lucene.analysis.TokenStreamcreate(org.apache.lucene.analysis.TokenStream tokenStream)TokenFilterFactorygetSynonymFilter()-
Methods inherited from class org.opensearch.index.analysis.AbstractTokenFilterFactory
name
-
Methods inherited from class org.opensearch.index.AbstractIndexComponent
getIndexSettings, index
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.index.analysis.TokenFilterFactory
getAnalysisMode, getChainAwareTokenFilterFactory, normalize
-
-
-
-
Field Detail
-
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 Detail
-
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)
-
breaksFastVectorHighlighter
public boolean breaksFastVectorHighlighter()
-
getSynonymFilter
public TokenFilterFactory getSynonymFilter()
-
-