Class MergedPointRangeQuery

java.lang.Object
org.apache.lucene.search.Query
org.elasticsearch.search.aggregations.bucket.filter.MergedPointRangeQuery

public class MergedPointRangeQuery extends org.apache.lucene.search.Query
Query merging two point in range queries.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.lucene.search.Weight
    createWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost)
     
    boolean
     
    int
     
    static org.apache.lucene.search.Query
    merge(org.apache.lucene.search.PointRangeQuery lhs, org.apache.lucene.search.PointRangeQuery rhs)
    Merge two PointRangeQuerys into a MergedPointRangeQuery that matches points that match both filters.
     

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

    classHash, rewrite, sameClassAs, toString, visit

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Method Details

    • merge

      public static org.apache.lucene.search.Query merge(org.apache.lucene.search.PointRangeQuery lhs, org.apache.lucene.search.PointRangeQuery rhs)
      Merge two PointRangeQuerys into a MergedPointRangeQuery that matches points that match both filters.
    • createWeight

      public org.apache.lucene.search.Weight createWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost) throws IOException
      Overrides:
      createWeight in class org.apache.lucene.search.Query
      Throws:
      IOException
    • toString

      public String toString(String field)
      Specified by:
      toString in class org.apache.lucene.search.Query
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in class org.apache.lucene.search.Query
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in class org.apache.lucene.search.Query