java.lang.Object
org.elasticsearch.script.DoubleValuesScript
A custom script that can be used for various DoubleValue Lucene operations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA factory to constructDoubleValuesScriptinstances. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract doubleevaluate(org.apache.lucene.search.DoubleValues[] functionValues) abstract doubleexecute()abstract org.apache.lucene.search.DoubleValuesSourcegetDoubleValuesSource(Function<String, org.apache.lucene.search.DoubleValuesSource> sourceProvider) abstract org.apache.lucene.search.RescorergetRescorer(Function<String, org.apache.lucene.search.DoubleValuesSource> sourceProvider) abstract org.apache.lucene.search.SortFieldgetSortField(Function<String, org.apache.lucene.search.DoubleValuesSource> sourceProvider, boolean reverse) abstract Stringabstract String[]
-
Field Details
-
CONTEXT
-
-
Constructor Details
-
DoubleValuesScript
public DoubleValuesScript()
-
-
Method Details
-
execute
public abstract double execute() -
evaluate
public abstract double evaluate(org.apache.lucene.search.DoubleValues[] functionValues) -
getDoubleValuesSource
-
getSortField
-
getRescorer
-
sourceText
-
variables
-