Overview | Package | Class | Use | Tree | Deprecated | Help
PREV NEXT | FRAMES NO FRAMES

## 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 that return Sort
`Sort` | `Sort.rewrite(IndexSearcher searcher)` Rewrites the SortFields in this Sort, returning a new Sort if any of the fields changes during their rewriting.

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 TopFieldCollector` | `TopFieldCollector.create(Sort sort, int numHits, FieldDoc after, 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`.
`protected TopFieldDocs` | `IndexSearcher.search(List<AtomicReaderContext> leaves, Weight weight, FieldDoc after, int nDocs, Sort sort, boolean fillFields, boolean doDocScores, boolean doMaxScore)` Just like `IndexSearcher.search(Weight, int, Sort, boolean, boolean)`, but you choose whether or not the fields in the returned `FieldDoc` instances should be set by specifying fillFields.
`TopFieldDocs` | `IndexSearcher.search(Query query, Filter filter, int n, Sort sort)` Search implementation with arbitrary sorting.
`TopFieldDocs` | `IndexSearcher.search(Query query, Filter filter, int n, Sort sort, boolean doDocScores, boolean doMaxScore)` Search implementation with arbitrary sorting, plus control over whether hit scores and max score should be computed.
`TopFieldDocs` | `IndexSearcher.search(Query query, int n, Sort sort)` Search implementation with arbitrary sorting and no filter.
`protected TopFieldDocs` | `IndexSearcher.search(Weight weight, FieldDoc after, int nDocs, Sort sort, boolean fillFields, boolean doDocScores, boolean doMaxScore)` Just like `IndexSearcher.search(Weight, int, Sort, boolean, boolean)`, but you choose whether or not the fields in the returned `FieldDoc` instances should be set by specifying fillFields.
`protected TopFieldDocs` | `IndexSearcher.search(Weight weight, int nDocs, Sort sort, boolean doDocScores, boolean doMaxScore)` Expert: Low-level search implementation with arbitrary sorting and control over whether hit scores and max score should be computed.
`TopDocs` | `IndexSearcher.searchAfter(ScoreDoc after, Query query, Filter filter, int n, Sort sort)` Finds the top `n` hits for `query`, applying `filter` if non-null, where all results are after a previous result (`after`).
`TopDocs` | `IndexSearcher.searchAfter(ScoreDoc after, Query query, Filter filter, int n, Sort sort, boolean doDocScores, boolean doMaxScore)` Finds the top `n` hits for `query` where all results are after a previous result (`after`), allowing control over whether hit scores and max score should be computed.
`TopDocs` | `IndexSearcher.searchAfter(ScoreDoc after, Query query, int n, Sort sort)` Finds the top `n` hits for `query` where all results are after a previous result (`after`).

Overview | Package | Class | Use | Tree | Deprecated | Help
PREV NEXT | FRAMES NO FRAMES

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