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

Packages that use ScoreDoc
org.apache.lucene.index.pruning: Static Index Pruning Tools
org.apache.lucene.search: Code to search indices.
org.apache.lucene.search.grouping: This module enables search result grouping with Lucene, where hits with the same value in the specified single-valued group field are grouped together.

Uses of ScoreDoc in org.apache.lucene.index.pruning

Methods in org.apache.lucene.index.pruning with parameters of type ScoreDoc
`int` `CarmelUniformTermPruningPolicy.ByDocComparator.compare(ScoreDoc o1, ScoreDoc o2)`
`int` `CarmelTopKTermPruningPolicy.ByDocComparator.compare(ScoreDoc o1, ScoreDoc o2)`

Uses of ScoreDoc in org.apache.lucene.search

Classes in org.apache.lucene.search with type parameters of type ScoreDoc
`class` `TopDocsCollector<T extends ScoreDoc>` A base class for all collectors that return a `TopDocs` output.

Subclasses of ScoreDoc in org.apache.lucene.search
`class` `FieldDoc` Expert: A ScoreDoc which also contains information about how to sort the referenced document.
`static class` `FieldValueHitQueue.Entry`

Fields in org.apache.lucene.search declared as ScoreDoc
`ScoreDoc[]` `TopDocs.scoreDocs` The top hits for the query.

Methods in org.apache.lucene.search with parameters of type ScoreDoc
`static void` `CheckHits.checkDocIds(String mes, int[] results, ScoreDoc[] hits)` Tests that a Hits has an expected order of documents
`static void` `CheckHits.checkEqual(Query query, ScoreDoc[] hits1, ScoreDoc[] hits2)`
`static void` `CheckHits.checkEqual(Query query, ScoreDoc[] hits1, ScoreDoc[] hits2)`
`static void` `CheckHits.checkHitsQuery(Query query, ScoreDoc[] hits1, ScoreDoc[] hits2, int[] results)` Tests that two queries have an expected order of documents, and that the two queries have the same score values.
`static void` `CheckHits.checkHitsQuery(Query query, ScoreDoc[] hits1, ScoreDoc[] hits2, int[] results)` Tests that two queries have an expected order of documents, and that the two queries have the same score values.
`static TopScoreDocCollector` `TopScoreDocCollector.create(int numHits, ScoreDoc after, boolean docsScoredInOrder)` Creates a new `TopScoreDocCollector` given the number of hits to collect, the bottom of the previous page, and whether documents are scored in order by the input `Scorer` to `TopScoreDocCollector.setScorer(Scorer)`.
`static String` `CheckHits.hits2str(ScoreDoc[] hits1, ScoreDoc[] hits2, int start, int end)`
`static String` `CheckHits.hits2str(ScoreDoc[] hits1, ScoreDoc[] hits2, int start, int end)`
`protected TopDocs` `TopDocsCollector.newTopDocs(ScoreDoc[] results, int start)` Returns a `TopDocs` instance containing the given results.
`protected TopDocs` `TopFieldCollector.newTopDocs(ScoreDoc[] results, int start)`
`protected TopDocs` `TopScoreDocCollector.newTopDocs(ScoreDoc[] results, int start)`
`protected void` `TopDocsCollector.populateResults(ScoreDoc[] results, int howMany)` Populates the results array with the ScoreDoc instances.
`protected void` `TopFieldCollector.populateResults(ScoreDoc[] results, int howMany)`
`protected TopDocs` `IndexSearcher.search(Weight weight, Filter filter, ScoreDoc after, int nDocs)` Expert: Low-level search implementation.
`TopDocs` `IndexSearcher.searchAfter(ScoreDoc after, Query query, Filter filter, int n)` 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, int n)` Finds the top `n` hits for `query` where all results are after a previous result (`after`).

Constructors in org.apache.lucene.search with parameters of type ScoreDoc
`TopDocs(int totalHits, ScoreDoc[] scoreDocs, float maxScore)`
`TopFieldDocs(int totalHits, ScoreDoc[] scoreDocs, SortField[] fields, float maxScore)` Creates one of these objects.

Uses of ScoreDoc in org.apache.lucene.search.grouping

Fields in org.apache.lucene.search.grouping declared as ScoreDoc
`ScoreDoc[]` `GroupDocs.scoreDocs` Hits; this may be `FieldDoc` instances if the withinGroupSort sorted by fields.

Constructors in org.apache.lucene.search.grouping with parameters of type ScoreDoc
`GroupDocs(float maxScore, int totalHits, ScoreDoc[] scoreDocs, GROUP_VALUE_TYPE groupValue, Object[] groupSortValues)`