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

- Packages that use TopDocs
  Package | Description
  --- | ---
  org.apache.lucene.search | Code to search indices.

- - ### Uses of TopDocs in org.apache.lucene.search

    Subclasses of TopDocs in org.apache.lucene.search
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TopFieldDocs` Represents hits returned by `Searcher.search(Query,Filter,int,Sort)`.

    Fields in org.apache.lucene.search declared as TopDocs
    Modifier and Type | Field and Description
    --- | ---
    `protected static TopDocs` | TopDocsCollector.`EMPTY_TOPDOCS`

    Methods in org.apache.lucene.search that return TopDocs
    Modifier and Type | Method and Description
    --- | ---
    `protected TopDocs` | TopScoreDocCollector.`newTopDocs(ScoreDoc[] results, int start)`
    `protected TopDocs` | TopDocsCollector.`newTopDocs(ScoreDoc[] results, int start)` Returns a `TopDocs` instance containing the given results.
    `protected TopDocs` | TopFieldCollector.`newTopDocs(ScoreDoc[] results, int start)`
    `TopDocs` | Searcher.`search(Query query, Filter filter, int n)` Finds the top `n` hits for `query`, applying `filter` if non-null.
    `TopDocs` | Searcher.`search(Query query, int n)` Finds the top `n` hits for `query`.
    `abstract TopDocs` | Searcher.`search(Weight weight, Filter filter, int n)`
    `TopDocs` | MultiSearcher.`search(Weight weight, Filter filter, int nDocs)`
    `TopDocs` | IndexSearcher.`search(Weight weight, Filter filter, int nDocs)`
    `TopDocs` | Searchable.`search(Weight weight, Filter filter, int n)` Expert: Low-level search implementation.
    `TopDocs` | ParallelMultiSearcher.`search(Weight weight, Filter filter, int nDocs)` A search implementation which spans a new thread for each Searchable, waits for each search to complete and merge the results back together.
    `TopDocs` | TopFieldDocCollector.`topDocs()` Deprecated.
    `TopDocs` | TopDocsCollector.`topDocs()` Returns the top docs that were collected by this collector.
    `TopDocs` | TopDocCollector.`topDocs()` Deprecated. The top-scoring hits.
    `TopDocs` | TopDocsCollector.`topDocs(int start)` Returns the documents in the rage [start ..
    `TopDocs` | TopDocsCollector.`topDocs(int start, int howMany)` Returns the documents in the rage [start ..

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