Uses of Enum
org.apache.lucene.search.SortField.Type
-
Uses of SortField.Type in org.apache.lucene.search
Modifier and TypeMethodDescriptionSortedNumericSortField.getNumericType()
Returns the numeric type in use for this sortSortField.getType()
Returns the type of contents in the field.protected static SortField.Type
static SortField.Type
Returns the enum constant of this type with the specified name.static SortField.Type[]
SortField.Type.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic NumericDocValues
SortedNumericSelector.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.ModifierConstructorDescriptionSortedNumericSortField
(String field, SortField.Type type) Creates a sort, by the minimum value in the set for the document.SortedNumericSortField
(String field, SortField.Type type, boolean reverse) Creates a sort, possibly in reverse, by the minimum value in the set for the document.SortedNumericSortField
(String field, SortField.Type type, boolean reverse, SortedNumericSelector.Type selector) Creates a sort, possibly in reverse, specifying how the sort value from the document's set is selected.SortField
(String field, SortField.Type type) Creates a sort by terms in the given field with the type of term values explicitly given.SortField
(String field, SortField.Type type, boolean reverse) Creates a sort, possibly in reverse, by terms in the given field with the type of term values explicitly given.