Package org.elasticsearch.script
Interface AggregationScript.LeafFactory
-
- Enclosing class:
- AggregationScript
public static interface AggregationScript.LeafFactory
A factory to constructAggregationScript
instances.
-
-
Method Summary
Modifier and Type Method Description boolean
needs_score()
Returntrue
if the script needs_score
calculated, orfalse
otherwise.AggregationScript
newInstance(org.apache.lucene.index.LeafReaderContext ctx)
-
-
-
Method Detail
-
newInstance
AggregationScript newInstance(org.apache.lucene.index.LeafReaderContext ctx) throws java.io.IOException
- Throws:
java.io.IOException
-
needs_score
boolean needs_score()
Returntrue
if the script needs_score
calculated, orfalse
otherwise.
-
-