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

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

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

    Subclasses of HitCollector in org.apache.lucene.search
    Modifier and Type | Class and Description
    --- | ---
    `class` | `TimeLimitedCollector` Deprecated. Use `TimeLimitingCollector` instead, which extends the new `Collector`. This class will be removed in 3.0.
    `class` | `TopDocCollector` Deprecated. Please use `TopScoreDocCollector` instead, which has better performance.
    `class` | `TopFieldDocCollector` Deprecated. Please use `TopFieldCollector` instead.

    Methods in org.apache.lucene.search with parameters of type HitCollector
    Modifier and Type | Method and Description
    --- | ---
    `void` | Scorer.`score(HitCollector hc)` Deprecated. use `Scorer.score(Collector)` instead.
    `protected boolean` | Scorer.`score(HitCollector hc, int max)` Deprecated. use `Scorer.score(Collector, int, int)` instead.
    `void` | Searcher.`search(Query query, Filter filter, HitCollector results)` Deprecated. use `Searcher.search(Query, Filter, Collector)` instead.
    `void` | Searcher.`search(Query query, HitCollector results)` Deprecated. use `Searcher.search(Query, Collector)` instead.
    `void` | Searcher.`search(Weight weight, Filter filter, HitCollector results)` Deprecated. use `Searcher.search(Weight, Filter, Collector)` instead.
    `void` | Searchable.`search(Weight weight, Filter filter, HitCollector results)` Deprecated. use `Searchable.search(Weight, Filter, Collector)` instead.

    Constructors in org.apache.lucene.search with parameters of type HitCollector
    Constructor and Description
    `HitCollectorWrapper(HitCollector collector)` Deprecated.
    `TimeLimitedCollector(HitCollector hc, long timeAllowed)` Deprecated. Create a TimeLimitedCollector wrapper over another HitCollector with a specified timeout.

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