Class TermsSetQueryScript


  • public abstract class TermsSetQueryScript
    extends Object
    • Method Detail

      • getParams

        public Map<String,​Object> getParams()
        Return the parameters for this script.
      • getDoc

        public Map<String,​ScriptDocValues<?>> getDoc()
        The doc lookup for the Lucene segment this script was created for.
      • setDocument

        public void setDocument​(int docid)
        Set the current document to run the script on next.
      • runAsLong

        public long runAsLong()
        Return the result as a long. This is used by aggregation scripts over long fields.
      • execute

        public abstract Number execute()