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.CharArraySetwordListFields inherited from class org.opensearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, logger -
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractCompoundWordTokenFilterFactory(IndexSettings indexSettings, Environment env, java.lang.String name, Settings settings) -
Method Summary
Modifier and Type Method Description 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
breaksFastVectorHighlighter, create, getAnalysisMode, getChainAwareTokenFilterFactory, normalize
-
Field Details
-
minWordSize
protected final int minWordSize -
minSubwordSize
protected final int minSubwordSize -
maxSubwordSize
protected final int maxSubwordSize -
onlyLongestMatch
protected final boolean onlyLongestMatch -
wordList
protected final org.apache.lucene.analysis.CharArraySet wordList
-
-
Constructor Details
-
AbstractCompoundWordTokenFilterFactory
protected AbstractCompoundWordTokenFilterFactory(IndexSettings indexSettings, Environment env, java.lang.String name, Settings settings)
-
-
Method Details