public class NumericRangeTreeQuery extends Query
The field must be indexed with RangeTreeDocValuesFormat
, and SortedNumericDocValuesField
added per document.
Constructor and Description |
---|
NumericRangeTreeQuery(String field,
Long minValue,
boolean minInclusive,
Long maxValue,
boolean maxInclusive)
Matches all values in the specified long range.
|
Modifier and Type | Method and Description |
---|---|
Weight |
createWeight(IndexSearcher searcher,
boolean needsScores) |
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString(String field) |
public Weight createWeight(IndexSearcher searcher, boolean needsScores) throws IOException
createWeight
in class Query
IOException
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.