Package org.opensearch.analysis.common
Class ASCIIFoldingTokenFilterFactory
- java.lang.Object
-
- org.opensearch.index.AbstractIndexComponent
-
- org.opensearch.index.analysis.AbstractTokenFilterFactory
-
- org.opensearch.analysis.common.ASCIIFoldingTokenFilterFactory
-
- All Implemented Interfaces:
NormalizingTokenFilterFactory,TokenFilterFactory,IndexComponent
public class ASCIIFoldingTokenFilterFactory extends AbstractTokenFilterFactory implements NormalizingTokenFilterFactory
Factory for ASCIIFoldingFilter.
-
-
Field Summary
Fields Modifier and Type Field Description static booleanDEFAULT_PRESERVE_ORIGINALstatic ParseFieldPRESERVE_ORIGINAL-
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 ASCIIFoldingTokenFilterFactory(IndexSettings indexSettings, Environment environment, java.lang.String name, Settings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.analysis.TokenStreamcreate(org.apache.lucene.analysis.TokenStream tokenStream)TokenFilterFactorygetSynonymFilter()org.apache.lucene.analysis.TokenStreamnormalize(org.apache.lucene.analysis.TokenStream tokenStream)-
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, getAnalysisMode, getChainAwareTokenFilterFactory, name
-
-
-
-
Field Detail
-
PRESERVE_ORIGINAL
public static final ParseField PRESERVE_ORIGINAL
-
DEFAULT_PRESERVE_ORIGINAL
public static final boolean DEFAULT_PRESERVE_ORIGINAL
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ASCIIFoldingTokenFilterFactory
public ASCIIFoldingTokenFilterFactory(IndexSettings indexSettings, Environment environment, java.lang.String name, Settings settings)
-
-
Method Detail
-
create
public org.apache.lucene.analysis.TokenStream create(org.apache.lucene.analysis.TokenStream tokenStream)
- Specified by:
createin interfaceTokenFilterFactory
-
getSynonymFilter
public TokenFilterFactory getSynonymFilter()
- Specified by:
getSynonymFilterin interfaceTokenFilterFactory
-
normalize
public org.apache.lucene.analysis.TokenStream normalize(org.apache.lucene.analysis.TokenStream tokenStream)
- Specified by:
normalizein interfaceNormalizingTokenFilterFactory- Specified by:
normalizein interfaceTokenFilterFactory
-
-