Uses of Class
org.apache.lucene.search.SortField.Type
-
Packages that use SortField.Type Package Description org.apache.lucene.index Code to maintain and access indices.org.apache.lucene.search Code to search indices.org.apache.lucene.search.join Support for index-time and query-time joins. -
-
Uses of SortField.Type in org.apache.lucene.index
Fields in org.apache.lucene.index with type parameters of type SortField.Type Modifier and Type Field Description private static java.util.EnumSet<SortField.Type>
IndexWriterConfig. ALLOWED_INDEX_SORT_TYPES
We only allow sorting on these typesMethods in org.apache.lucene.index that return SortField.Type Modifier and Type Method Description (package private) static SortField.Type
Sorter. getSortFieldType(SortField sortField)
Returns the native sort type forSortedSetSortField
andSortedNumericSortField
,SortField.getType()
otherwise -
Uses of SortField.Type in org.apache.lucene.search
Fields in org.apache.lucene.search declared as SortField.Type Modifier and Type Field Description private SortField.Type
SortedNumericSortField. type
private SortField.Type
SortField. type
Methods in org.apache.lucene.search that return SortField.Type Modifier and Type Method Description SortField.Type
SortedNumericSortField. getNumericType()
Returns the numeric type in use for this sortSortField.Type
SortField. getType()
Returns the type of contents in the field.static SortField.Type
SortField.Type. valueOf(java.lang.String name)
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.Methods in org.apache.lucene.search with parameters of type SortField.Type Modifier and Type Method Description private void
SortField. initFieldType(java.lang.String field, SortField.Type type)
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.Type Constructor Description SortedNumericSortField(java.lang.String field, SortField.Type type)
Creates a sort, by the minimum value in the set for the document.SortedNumericSortField(java.lang.String field, SortField.Type type, boolean reverse)
Creates a sort, possibly in reverse, by the minimum value in the set for the document.SortedNumericSortField(java.lang.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(java.lang.String field, SortField.Type type)
Creates a sort by terms in the given field with the type of term values explicitly given.SortField(java.lang.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.Type Constructor Description ToParentBlockJoinSortField(java.lang.String field, SortField.Type type, boolean reverse, boolean order, BitSetProducer parentFilter, BitSetProducer childFilter)
Create ToParentBlockJoinSortField.ToParentBlockJoinSortField(java.lang.String field, SortField.Type type, boolean reverse, BitSetProducer parentFilter, BitSetProducer childFilter)
Create ToParentBlockJoinSortField.
-