java.lang.Object
org.elasticsearch.script.DocBasedScript
org.elasticsearch.script.StringSortScript
- All Implemented Interfaces:
ScorerAware
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA factory to construct statefulStringSortScriptfactories for a specific index.static interfaceA factory to constructStringSortScriptinstances. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ScriptContext<StringSortScript.Factory> static final String[]Fields inherited from class org.elasticsearch.script.DocBasedScript
docReader -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.elasticsearch.script.DocBasedScript
docAsMap, field, fields, getDoc, setDocument, source
-
Field Details
-
PARAMETERS
-
CONTEXT
-
-
Constructor Details
-
StringSortScript
-
-
Method Details
-
execute
-
getParams
Return the parameters for this script. -
setScorer
public void setScorer(org.apache.lucene.search.Scorable scorer) - Specified by:
setScorerin interfaceScorerAware
-
get_score
public double get_score()Return the score of the current document.
-