Module org.elasticsearch.server
Package org.elasticsearch.script
Interface NumberSortScript.LeafFactory
- Enclosing class:
NumberSortScript
public static interface NumberSortScript.LeafFactory
A factory to construct
NumberSortScript instances.-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturntrueif the script needs_scorecalculated, orfalseotherwise.newInstance(DocReader reader)
-
Method Details
-
newInstance
- Throws:
IOException
-
needs_score
boolean needs_score()Returntrueif the script needs_scorecalculated, orfalseotherwise.
-