Package org.apache.lucene.search
Class SortedNumericSelector
java.lang.Object
org.apache.lucene.search.SortedNumericSelector
Selects a value from the document's list to use as the representative value
This provides a NumericDocValues view over the SortedNumeric, for use with sorting, expressions, function queries, etc.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Type of selection to perform. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic NumericDocValues
wrap
(SortedNumericDocValues sortedNumeric, SortedNumericSelector.Type selector, SortField.Type numericType) Wraps a multi-valued SortedNumericDocValues as a single-valued view, using the specified selector and numericType.
-
Constructor Details
-
SortedNumericSelector
public SortedNumericSelector()
-
-
Method Details
-
wrap
public static NumericDocValues wrap(SortedNumericDocValues sortedNumeric, SortedNumericSelector.Type selector, SortField.Type numericType) Wraps a multi-valued SortedNumericDocValues as a single-valued view, using the specified selector and numericType.
-