## Uses of Class
org.apache.lucene.search.Sort

Packages that use Sort
org.apache.lucene.search: Code to search indices.

Uses of Sort in org.apache.lucene.search

Fields in org.apache.lucene.search declared as Sort
`static Sort` `Sort.INDEXORDER` Represents sorting by index order.
`static Sort` `Sort.RELEVANCE` Represents sorting by computed relevance.

Methods in org.apache.lucene.search with parameters of type Sort
`static TopFieldCollector` `TopFieldCollector.create(Sort sort, int numHits, boolean fillFields, boolean trackDocScores, boolean trackMaxScore, boolean docsScoredInOrder)` Creates a new `TopFieldCollector` from the given arguments.
`static TopDocs` `TopDocs.merge(Sort sort, int topN, TopDocs[] shardHits)` Returns a new TopDocs, containing topN results across the provided TopDocs, sorting by the specified `Sort`.
`TopFieldDocs` `Searcher.search(Query query, Filter filter, int n, Sort sort)` Deprecated. Search implementation with arbitrary sorting.
`TopFieldDocs` `IndexSearcher.search(Query query, Filter filter, int n, Sort sort)` Search implementation with arbitrary sorting.
`TopFieldDocs` `Searcher.search(Query query, int n, Sort sort)` Deprecated. Search implementation with arbitrary sorting and no filter.
`TopFieldDocs` `IndexSearcher.search(Query query, int n, Sort sort)` Search implementation with arbitrary sorting and no filter.
`TopFieldDocs` `MultiSearcher.search(Weight weight, Filter filter, int n, Sort sort)` Deprecated.
`TopFieldDocs` `Searchable.search(Weight weight, Filter filter, int n, Sort sort)` Deprecated. Expert: Low-level search implementation with arbitrary sorting.
`abstract TopFieldDocs` `Searcher.search(Weight weight, Filter filter, int n, Sort sort)` Deprecated.
`TopFieldDocs` `IndexSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)` Expert: Low-level search implementation with arbitrary sorting.
`TopFieldDocs` `ParallelMultiSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)` Deprecated. A search implementation allowing sorting which spans a new thread for each Searchable, waits for each search to complete and merges the results back together.
`protected TopFieldDocs` `IndexSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort, boolean fillFields)` Just like `IndexSearcher.search(Weight, Filter, int, Sort)`, but you choose whether or not the fields in the returned `FieldDoc` instances should be set by specifying fillFields.