Class IpScriptFieldRangeQuery

org.apache.lucene.search.Query
org.elasticsearch.search.runtime.AbstractScriptFieldQuery<IpFieldScript>
org.elasticsearch.search.runtime.IpScriptFieldRangeQuery

public class IpScriptFieldRangeQuery extends AbstractScriptFieldQuery<IpFieldScript>
  • Field Summary

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

    MATCH_COST
  • Constructor Summary

    Constructors
    Constructor
    Description
    IpScriptFieldRangeQuery​(Script script, IpFieldScript.LeafFactory leafFactory,  fieldName, org.apache.lucene.util.BytesRef lower, org.apache.lucene.util.BytesRef upper)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected static
    decode​(org.apache.lucene.util.BytesRef ref)
     
    boolean
     obj)
     
    int
     
    protected boolean
    matches​(org.apache.lucene.util.BytesRef[] values, int count)
    Does the value match this query?
    protected boolean
    matches​(IpFieldScript scriptContext, int docId)
     
     field)
     

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

    createWeight

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

    classHash, rewrite, sameClassAs, toString, visit

    Methods inherited from class java.lang.

    , , , , , , ,
  • Constructor Details

    • IpScriptFieldRangeQuery

      public IpScriptFieldRangeQuery(Script script, IpFieldScript.LeafFactory leafFactory,  fieldName, org.apache.lucene.util.BytesRef lower, org.apache.lucene.util.BytesRef upper)
  • Method Details