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

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

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

    Methods in org.apache.lucene.search that return TopScoreDocCollector
    Modifier and Type | Method and Description
    --- | ---
    `static TopScoreDocCollector` | TopScoreDocCollector.`create(int numHits, int totalHitsThreshold)` Creates a new `TopScoreDocCollector` given the number of hits to collect and the number of hits to count accurately.
    `static TopScoreDocCollector` | TopScoreDocCollector.`create(int numHits, ScoreDoc after, int totalHitsThreshold)` Creates a new `TopScoreDocCollector` given the number of hits to collect, the bottom of the previous page, and the number of hits to count accurately.

    Methods in org.apache.lucene.search that return types with arguments of type TopScoreDocCollector
    Modifier and Type | Method and Description
    --- | ---
    `static CollectorManager<TopScoreDocCollector,TopDocs>` | TopScoreDocCollector.`createSharedManager(int numHits, FieldDoc after, int totalHitsThreshold)` Create a CollectorManager which uses a shared hit counter to maintain number of hits and a shared `MaxScoreAccumulator` to propagate the minimum score accross segments

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