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

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

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

    Methods in org.apache.lucene.search that return TopFieldCollector
    Modifier and Type | Method and Description
    --- | ---
    `static TopFieldCollector` | TopFieldCollector.`create(Sort sort, int numHits, FieldDoc after, int totalHitsThreshold)` Creates a new `TopFieldCollector` from the given arguments.
    `static TopFieldCollector` | TopFieldCollector.`create(Sort sort, int numHits, int totalHitsThreshold)` Creates a new `TopFieldCollector` from the given arguments.

    Methods in org.apache.lucene.search that return types with arguments of type TopFieldCollector
    Modifier and Type | Method and Description
    --- | ---
    `static CollectorManager<TopFieldCollector,TopFieldDocs>` | TopFieldCollector.`createSharedManager(Sort sort, 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 if the primary sort is by relevancy.

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