Uses of Interface
org.apache.lucene.search.CollectorManager
Packages that use CollectorManager
-
Uses of CollectorManager in org.apache.lucene.search
Classes in org.apache.lucene.search that implement CollectorManagerModifier and TypeClassDescriptionclass
ACollectorManager
implements which wrap a set ofCollectorManager
asMultiCollector
acts forCollector
.class
Create a TopFieldCollectorManager which uses a shared hit counter to maintain number of hits and a sharedMaxScoreAccumulator
to propagate the minimum score across segments if the primary sort is by relevancy.class
Create a TopScoreDocCollectorManager which uses a shared hit counter to maintain number of hits and a sharedMaxScoreAccumulator
to propagate the minimum score across segmentsclass
Collector manager based onTotalHitCountCollector
that allows users to parallelize counting the number of hits, expected to be used mostly wrapped inMultiCollectorManager
.Fields in org.apache.lucene.search declared as CollectorManagerModifier and TypeFieldDescriptionprivate final CollectorManager<Collector,
?>[] MultiCollectorManager.collectorManagers
Methods in org.apache.lucene.search that return CollectorManagerModifier and TypeMethodDescriptionTopFieldCollector.createSharedManager
(Sort sort, int numHits, FieldDoc after, int totalHitsThreshold) Deprecated.TopScoreDocCollector.createSharedManager
(int numHits, ScoreDoc after, int totalHitsThreshold) Deprecated.This method is deprecated in favor of the constructor ofTopScoreDocCollectorManager
due to its support for concurrency in IndexSearcherMethods in org.apache.lucene.search with parameters of type CollectorManagerModifier and TypeMethodDescription<C extends Collector,
T>
TIndexSearcher.search
(Query query, CollectorManager<C, T> collectorManager) Lower-level search API.private <C extends Collector,
T>
TIndexSearcher.search
(Weight weight, CollectorManager<C, T> collectorManager, C firstCollector) Constructors in org.apache.lucene.search with parameters of type CollectorManagerModifierConstructorDescriptionMultiCollectorManager
(CollectorManager<? extends Collector, ?>... collectorManagers)
TopFieldCollectorManager
due to its support for concurrency in IndexSearcher