Package org.opensearch.analysis.common
Class AnalysisPredicateScript
java.lang.Object
org.opensearch.analysis.common.AnalysisPredicateScript
A predicate based on the current token in a TokenStream
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic classEncapsulation of the state of the current token -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ScriptContext<AnalysisPredicateScript.Factory>static final String[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanReturnstrueif the current term matches the predicate
-
Field Details
-
PARAMETERS
-
CONTEXT
-
-
Constructor Details
-
AnalysisPredicateScript
public AnalysisPredicateScript()
-
-
Method Details
-
execute
Returnstrueif the current term matches the predicate
-