Interface AggregationScript.LeafFactory

Enclosing class:
AggregationScript

@PublicApi(since="1.0.0") public static interface AggregationScript.LeafFactory
A factory to construct AggregationScript instances.
Opensearch.api:
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Return true if the script needs _score calculated, or false otherwise.
    newInstance(org.apache.lucene.index.LeafReaderContext ctx)
     
  • Method Details

    • newInstance

      AggregationScript newInstance(org.apache.lucene.index.LeafReaderContext ctx) throws IOException
      Throws:
      IOException
    • needs_score

      boolean needs_score()
      Return true if the script needs _score calculated, or false otherwise.