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 SortFieldDoubleField.newSortField(String field, boolean reverse, SortedNumericSelector.Type selector) Create a newSortFieldfor double values.static SortFieldFloatField.newSortField(String field, boolean reverse, SortedNumericSelector.Type selector) Create a newSortFieldfor float values.static SortFieldIntField.newSortField(String field, boolean reverse, SortedNumericSelector.Type selector) Create a newSortFieldfor int values.static SortFieldLongField.newSortField(String field, boolean reverse, SortedNumericSelector.Type selector) Create a newSortFieldfor 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.TypeReturns 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 NumericDocValuesSortedNumericSelector.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.