Uses of Interface
org.apache.lucene.search.Collector
Packages that use Collector
-
Uses of Collector in org.apache.lucene.search
Classes in org.apache.lucene.search with type parameters of type CollectorModifier and TypeInterfaceDescriptioninterface
CollectorManager<C extends Collector,
T> A manager of collectors.Classes in org.apache.lucene.search that implement CollectorModifier and TypeClassDescriptionclass
Caches all docs, and optionally also scores, coming from a search, and is then able to replay them to another collector.class
Collector
delegator.class
class
class
BaseCollector
implementation that is used to collect all contexts.class
TheTimeLimitingCollector
is used to timeout search requests that take longer than the maximum allowed search time limit.class
TopDocsCollector<T extends ScoreDoc>
A base class for all collectors that return aTopDocs
output.class
class
class
Just counts the total number of hits.Fields in org.apache.lucene.search declared as CollectorMethods in org.apache.lucene.search with type parameters of type CollectorModifier and TypeMethodDescription<C extends Collector,
T>
TIndexSearcher.search
(Query query, CollectorManager<C, T> collectorManager) Lower-level search API.Methods in org.apache.lucene.search that return CollectorModifier and TypeMethodDescriptionMultiCollector.getCollectors()
Provides access to the wrappedCollector
s for advanced use-casesMultiCollectorManager.newCollector()
static Collector
Wraps a list ofCollector
s with aMultiCollector
.static Collector
Methods in org.apache.lucene.search with parameters of type CollectorModifier and TypeMethodDescriptionstatic CachingCollector
Create a newCachingCollector
that wraps the given collector and caches documents and scores up to the specified RAM threshold.static CachingCollector
Create a newCachingCollector
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
IndexSearcher.search
(List<LeafReaderContext> leaves, Weight weight, Collector collector) Lower-level search API.void
Lower-level search API.void
TimeLimitingCollector.setCollector
(Collector collector) This is so the same timer can be used with a multi-phase search process such as grouping.static Collector
Method parameters in org.apache.lucene.search with type arguments of type CollectorModifier and TypeMethodDescriptionObject[]
MultiCollectorManager.reduce
(Collection<Collector> reducableCollectors) static Collector
Wraps a list ofCollector
s with aMultiCollector
.Constructors in org.apache.lucene.search with parameters of type CollectorModifierConstructorDescriptionSole constructor.TimeLimitingCollector
(Collector collector, Counter clock, long ticksAllowed) Create a TimeLimitedCollector wrapper over anotherCollector
with a specified timeout.