Package org.opensearch.analysis.common
Class WordDelimiterTokenFilterFactory
- java.lang.Object
-
- org.opensearch.index.AbstractIndexComponent
-
- org.opensearch.index.analysis.AbstractTokenFilterFactory
-
- org.opensearch.analysis.common.WordDelimiterTokenFilterFactory
-
- All Implemented Interfaces:
TokenFilterFactory,IndexComponent
public class WordDelimiterTokenFilterFactory extends AbstractTokenFilterFactory
-
-
Field Summary
-
Fields inherited from class org.opensearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger
-
Fields inherited from interface org.opensearch.index.analysis.TokenFilterFactory
IDENTITY_FILTER
-
-
Constructor Summary
Constructors Constructor Description WordDelimiterTokenFilterFactory(IndexSettings indexSettings, Environment env, java.lang.String name, Settings settings)
-
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)intgetFlag(int flag, Settings settings, java.lang.String key, boolean defaultValue)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
-
-
-
-
Constructor Detail
-
WordDelimiterTokenFilterFactory
public WordDelimiterTokenFilterFactory(IndexSettings indexSettings, Environment env, java.lang.String name, Settings settings)
-
-
Method Detail
-
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)
-
getSynonymFilter
public TokenFilterFactory getSynonymFilter()
-
getFlag
public int getFlag(int flag, Settings settings, java.lang.String key, boolean defaultValue)
-
breaksFastVectorHighlighter
public boolean breaksFastVectorHighlighter()
-
-