Package org.opensearch.analysis.common
Class PredicateTokenFilterScriptFactory
- java.lang.Object
-
- org.opensearch.index.AbstractIndexComponent
-
- org.opensearch.index.analysis.AbstractTokenFilterFactory
-
- org.opensearch.analysis.common.PredicateTokenFilterScriptFactory
-
- All Implemented Interfaces:
TokenFilterFactory,IndexComponent
public class PredicateTokenFilterScriptFactory extends AbstractTokenFilterFactory
A factory for creating FilteringTokenFilters that determine whether or not to accept their underlying token by consulting a script
-
-
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 PredicateTokenFilterScriptFactory(IndexSettings indexSettings, java.lang.String name, Settings settings, ScriptService scriptService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.lucene.analysis.TokenStreamcreate(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, getSynonymFilter, normalize
-
-
-
-
Constructor Detail
-
PredicateTokenFilterScriptFactory
public PredicateTokenFilterScriptFactory(IndexSettings indexSettings, java.lang.String name, Settings settings, ScriptService scriptService)
-
-