Uses of Enum Class
org.apache.lucene.search.SortedNumericSelector.Type
Packages that use SortedNumericSelector.Type
Package
Description
The logical representation of a
Document
for indexing and
searching.Code to search indices.
-
Uses of SortedNumericSelector.Type in org.apache.lucene.document
Methods in org.apache.lucene.document with parameters of type SortedNumericSelector.TypeModifier and TypeMethodDescriptionstatic SortField
DoubleField.newSortField
(String field, boolean reverse, SortedNumericSelector.Type selector) Create a newSortField
for double values.static SortField
FloatField.newSortField
(String field, boolean reverse, SortedNumericSelector.Type selector) Create a newSortField
for float values.static SortField
IntField.newSortField
(String field, boolean reverse, SortedNumericSelector.Type selector) Create a newSortField
for int values.static SortField
LongField.newSortField
(String field, boolean reverse, SortedNumericSelector.Type selector) Create a newSortField
for long values. -
Uses of SortedNumericSelector.Type in org.apache.lucene.search
Methods in org.apache.lucene.search that return SortedNumericSelector.TypeModifier and TypeMethodDescriptionSortedNumericSortField.getSelector()
Returns the selector in use for this sortstatic SortedNumericSelector.Type
Returns the enum constant of this class with the specified name.static SortedNumericSelector.Type[]
SortedNumericSelector.Type.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.apache.lucene.search with parameters of type SortedNumericSelector.TypeModifier 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.Constructors in org.apache.lucene.search with parameters of type SortedNumericSelector.TypeModifierConstructorDescriptionSortedNumericSortField
(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.