Package org.opensearch.search.slice
Class DocValuesSliceQuery
java.lang.Object
org.apache.lucene.search.Query
org.opensearch.search.slice.SliceQuery
org.opensearch.search.slice.DocValuesSliceQuery
A
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.
- Opensearch.internal:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.lucene.search.Weight
createWeight
(org.apache.lucene.search.IndexSearcher searcher, org.apache.lucene.search.ScoreMode scoreMode, float boost) Methods inherited from class org.opensearch.search.slice.SliceQuery
contains, equals, getField, getId, getMax, hashCode, toString, visit
Methods inherited from class org.apache.lucene.search.Query
classHash, rewrite, rewrite, sameClassAs, toString
-
Constructor Details
-
DocValuesSliceQuery
-
-
Method Details
-
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
-