-
class
Caches all docs, and optionally also scores, coming from a search, and is then able to replay
them to another collector.
class
class
class
A
Collector
implementation which wraps another
Collector
and makes sure only
documents with scores > 0 are collected.
class
Base
Collector
implementation that is used to collect all contexts.
class
The
TimeLimitingCollector
is used to timeout search requests that take longer than the
maximum allowed search time limit.
class
A base class for all collectors that return a
TopDocs
output.
class
class
A
Collector
implementation that collects the top-scoring hits, returning them as a
TopDocs
.
class
Just counts the total number of hits.
Provides access to the wrapped Collector
s for advanced use-cases
CachingCollector.create(Collector other,
boolean cacheScores,
double maxRAMMB)
Create a new
CachingCollector
that wraps the given collector and caches documents and
scores up to the specified RAM threshold.
CachingCollector.create(Collector other,
boolean cacheScores,
int maxDocsToCache)
Create a new
CachingCollector
that wraps the given collector and caches documents and
scores up to the specified max docs threshold.
abstract void
Replays the cached doc IDs (and scores) to the given Collector.
protected void
void
void
This is so the same timer can be used with a multi-phase search process such as grouping.
Create a TimeLimitedCollector wrapper over another
Collector
with a specified timeout.