Class DoubleScriptFieldTermsQuery

org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<DoubleFieldScript>
org.elasticsearch.search.runtime.DoubleScriptFieldTermsQuery

public class DoubleScriptFieldTermsQuery extends AbstractScriptFieldQuery<DoubleFieldScript>
  • Field Summary

    Fields inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery

    MATCH_COST
  • Constructor Summary

    Constructors
    Constructor
    Description
    DoubleScriptFieldTermsQuery​(Script script, DoubleFieldScript.LeafFactory leafFactory,  fieldName, com.carrotsearch.hppc.LongSet terms)
    Build the query.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     obj)
     
    int
     
    protected boolean
    matches​(double[] values, int count)
    Does the value match this query?
    protected boolean
    matches​(DoubleFieldScript scriptContext, int docId)
     
     field)
     
    void
    visit​(org.apache.lucene.search.QueryVisitor visitor)
     

    Methods inherited from class org.elasticsearch.search.runtime.AbstractScriptFieldQuery

    createWeight

    Methods inherited from class org.apache.lucene.search.Query

    classHash, rewrite, sameClassAs, toString

    Methods inherited from class java.lang.

    , , , , , , ,
  • Constructor Details

    • DoubleScriptFieldTermsQuery

      public DoubleScriptFieldTermsQuery(Script script, DoubleFieldScript.LeafFactory leafFactory,  fieldName, com.carrotsearch.hppc.LongSet terms)
      Build the query.
      Parameters:
      terms - The terms converted to a long with .
  • Method Details