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
Contains the common configuration settings between subclasses of this class.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final intprotected final intprotected final intprotected final booleanprotected final org.apache.lucene.analysis.CharArraySetFields inherited from class org.opensearch.index.AbstractIndexComponent
deprecationLogger, indexSettings, loggerFields inherited from interface org.opensearch.index.analysis.TokenFilterFactory
IDENTITY_FILTER -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractCompoundWordTokenFilterFactory(IndexSettings indexSettings, Environment env, String name, Settings settings) -
Method Summary
Methods inherited from class org.opensearch.index.analysis.AbstractTokenFilterFactory
nameMethods inherited from class org.opensearch.index.AbstractIndexComponent
getIndexSettings, indexMethods 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, String name, Settings settings)
-
-
Method Details
-
getSynonymFilter
-