Uses of Class
org.apache.lucene.search.SortField
Packages that use SortField
-
Uses of SortField in org.apache.lucene.search
Fields in org.apache.lucene.search declared as SortFieldModifier and TypeFieldDescriptionstatic final SortField
SortField.FIELD_DOC
Represents sorting by document number (index order).static final SortField
SortField.FIELD_SCORE
Represents sorting by document score (relevance).protected final SortField[]
FieldValueHitQueue.fields
Stores the sort criteria being used.TopFieldDocs.fields
The fields which were used to sort results by.Methods in org.apache.lucene.search that return SortFieldModifier and TypeMethodDescriptionSort.getSort()
Representation of the sort criteria.SortField.rewrite
(IndexSearcher searcher) Rewrites this SortField, returning a new SortField if a change is made.Methods in org.apache.lucene.search with parameters of type SortFieldModifier and TypeMethodDescriptionstatic <T extends FieldValueHitQueue.Entry>
FieldValueHitQueue<T>Creates a hit queue sorted by the given list of fields.void
Sets the sort to the given criteria.void
Sets the sort to the given criteria in succession.Constructors in org.apache.lucene.search with parameters of type SortField