Uses of Enum Class
org.apache.lucene.search.SortField.Type
Packages that use SortField.Type
Package
Description
Code to search indices.
Support for index-time and query-time joins.
-
Uses of SortField.Type in org.apache.lucene.search
Fields in org.apache.lucene.search declared as SortField.TypeModifier and TypeFieldDescriptionprivate final SortField.Type
SortedNumericSortField.type
private SortField.Type
SortField.type
Methods in org.apache.lucene.search that return SortField.TypeModifier and TypeMethodDescriptionSortedNumericSortField.getNumericType()
Returns the numeric type in use for this sortprivate static SortField.Type
IndexSortSortedNumericDocValuesRangeQuery.getSortFieldType
(SortField sortField) SortField.getType()
Returns the type of contents in the field.protected static SortField.Type
static SortField.Type
Returns the enum constant of this class with the specified name.static SortField.Type[]
SortField.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 SortField.TypeModifier and TypeMethodDescriptionIndexSortSortedNumericDocValuesRangeQuery.getDocIdSetIterator
(SortField sortField, SortField.Type sortFieldType, LeafReaderContext context, DocIdSetIterator delegate) Computes the document IDs that lie within the range [lowerValue, upperValue] by performing binary search on the field's doc values.private void
SortField.initFieldType
(String field, SortField.Type type) private static IndexSortSortedNumericDocValuesRangeQuery.ValueComparator
IndexSortSortedNumericDocValuesRangeQuery.loadComparator
(SortField sortField, SortField.Type type, long topValue, LeafReaderContext context) static 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 SortField.TypeModifierConstructorDescriptionSortedNumericSortField
(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. -
Uses of SortField.Type in org.apache.lucene.search.join
Constructors in org.apache.lucene.search.join with parameters of type SortField.TypeModifierConstructorDescriptionToParentBlockJoinSortField
(String field, SortField.Type type, boolean reverse, boolean order, BitSetProducer parentFilter, BitSetProducer childFilter) Create ToParentBlockJoinSortField.ToParentBlockJoinSortField
(String field, SortField.Type type, boolean reverse, BitSetProducer parentFilter, BitSetProducer childFilter) Create ToParentBlockJoinSortField.