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 TypeMethodDescriptionorg.apache.lucene.search.Weight
createWeight(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost)
boolean
int
hashCode()
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
-
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 classorg.apache.lucene.search.Query
- Throws:
IOException
-
toString
- Specified by:
toString
in classorg.apache.lucene.search.Query
-
equals
- Specified by:
equals
in classorg.apache.lucene.search.Query
-
hashCode
public int hashCode()- Specified by:
hashCode
in classorg.apache.lucene.search.Query
-