## 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
`TopFieldDocs` `Searcher.search(Query query, Filter filter, int n, Sort sort)` Expert: Low-level search implementation with arbitrary sorting.
`Hits` `Searcher.search(Query query, Filter filter, Sort sort)` Returns documents matching `query` and `filter`, sorted by `sort`.
`Hits` `Searcher.search(Query query, Sort sort)` Returns documents matching `query` sorted by `sort`.
`TopFieldDocs` `RemoteSearchable.search(Weight weight, Filter filter, int n, Sort sort)`
`TopFieldDocs` `IndexSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)`
`TopFieldDocs` `Searchable.search(Weight weight, Filter filter, int n, Sort sort)` Expert: Low-level search implementation with arbitrary sorting.
`abstract TopFieldDocs` `Searcher.search(Weight weight, Filter filter, int n, Sort sort)`
`TopFieldDocs` `ParallelMultiSearcher.search(Weight weight, Filter filter, int nDocs, Sort sort)` 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.
`TopFieldDocs` `MultiSearcher.search(Weight weight, Filter filter, int n, Sort sort)`

Constructors in org.apache.lucene.search with parameters of type Sort
`TopFieldDocCollector(IndexReader reader, Sort sort, int numHits)` Construct to collect a given number of hits.

Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.