public final class DocValuesSliceQuery extends SliceQuery
SliceQuery
that uses the numeric doc values of a field to do the slicing.
NOTE: With deterministic field values this query can be used across different readers safely.
If updates are accepted on the field you must ensure that the same reader is used for all `slice` queries.Constructor and Description |
---|
DocValuesSliceQuery(java.lang.String field,
int id,
int max) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.search.Weight |
createWeight(org.apache.lucene.search.IndexSearcher searcher,
boolean needsScores) |
contains, equals, getField, getId, getMax, hashCode, toString