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

Packages that use Collector
org.apache.lucene.search: Code to search indices.

Uses of Collector in org.apache.lucene.search

Subclasses of Collector in org.apache.lucene.search
`class` `HitCollectorWrapper` Deprecated. Please migrate custom HitCollectors to the new `Collector` class. This class will be removed when `HitCollector` is removed.
`class` `PositiveScoresOnlyCollector` A `Collector` implementation which wraps another `Collector` and makes sure only documents with scores > 0 are collected.
`class` `TimeLimitingCollector` The `TimeLimitingCollector` is used to timeout search requests that take longer than the maximum allowed search time limit.
`class` `TopDocsCollector` A base class for all collectors that return a `TopDocs` output.
`class` `TopFieldCollector` A `Collector` that sorts by `SortField` using `FieldComparator`s.
`class` `TopScoreDocCollector` A `Collector` implementation that collects the top-scoring hits, returning them as a `TopDocs`.

Methods in org.apache.lucene.search with parameters of type Collector
`void` `ScoreCachingWrappingScorer.score(Collector collector)`
`void` `Scorer.score(Collector collector)` Scores and collects all matching documents.
`protected boolean` `ScoreCachingWrappingScorer.score(Collector collector, int max, int firstDocID)`
`protected boolean` `Scorer.score(Collector collector, int max, int firstDocID)` Expert: Collects matching documents in a range.
`void` `Searcher.search(Query query, Collector results)` Lower-level search API.
`void` `Searcher.search(Query query, Filter filter, Collector results)` Lower-level search API.
`void` `RemoteSearchable.search(Weight weight, Filter filter, Collector results)`
`void` `ParallelMultiSearcher.search(Weight weight, Filter filter, Collector collector)` Lower-level search API.
`void` `MultiSearcher.search(Weight weight, Filter filter, Collector collector)`
`void` `IndexSearcher.search(Weight weight, Filter filter, Collector collector)`
`void` `Searchable.search(Weight weight, Filter filter, Collector collector)` Lower-level search API.
`abstract void` `Searcher.search(Weight weight, Filter filter, Collector results)`

Constructors in org.apache.lucene.search with parameters of type Collector
`PositiveScoresOnlyCollector(Collector c)`
`TimeLimitingCollector(Collector collector, long timeAllowed)` Create a TimeLimitedCollector wrapper over another `Collector` with a specified timeout.

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