public class SortedSetRangeTreeQuery extends Query
BytesRef
range.
The field must be indexed with RangeTreeDocValuesFormat
, and SortedSetDocValuesField
added per document.
Constructor and Description |
---|
SortedSetRangeTreeQuery(String field,
BytesRef minValue,
boolean minInclusive,
BytesRef maxValue,
boolean maxInclusive)
Matches all values in the specified
BytesRef 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.