Package org.opensearch.analysis.common
Class AbstractCompoundWordTokenFilterFactory
- java.lang.Object
-
- org.opensearch.index.AbstractIndexComponent
-
- org.opensearch.index.analysis.AbstractTokenFilterFactory
-
- org.opensearch.analysis.common.AbstractCompoundWordTokenFilterFactory
-
- All Implemented Interfaces:
TokenFilterFactory,IndexComponent
- Direct Known Subclasses:
DictionaryCompoundWordTokenFilterFactory,HyphenationCompoundWordTokenFilterFactory
public abstract class AbstractCompoundWordTokenFilterFactory extends AbstractTokenFilterFactory
Contains the common configuration settings between subclasses of this class.
-
-
Field Summary
Fields Modifier and Type Field Description protected intmaxSubwordSizeprotected intminSubwordSizeprotected intminWordSizeprotected booleanonlyLongestMatchprotected org.apache.lucene.analysis.CharArraySetwordList-
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 Modifier Constructor Description protectedAbstractCompoundWordTokenFilterFactory(IndexSettings indexSettings, Environment env, java.lang.String name, Settings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
breaksFastVectorHighlighter, create, getAnalysisMode, getChainAwareTokenFilterFactory, normalize
-
-
-
-
Constructor Detail
-
AbstractCompoundWordTokenFilterFactory
protected AbstractCompoundWordTokenFilterFactory(IndexSettings indexSettings, Environment env, java.lang.String name, Settings settings)
-
-
Method Detail
-
getSynonymFilter
public TokenFilterFactory getSynonymFilter()
-
-