Uses of Interface
org.apache.lucene.search.CollectorManager
-
Packages that use CollectorManager Package Description org.apache.lucene.search Code to search indices. -
-
Uses of CollectorManager in org.apache.lucene.search
Classes in org.apache.lucene.search that implement CollectorManager Modifier and Type Class Description class
MultiCollectorManager
ACollectorManager
implements which wrap a set ofCollectorManager
asMultiCollector
acts forCollector
.class
TotalHitCountCollectorManager
Collector manager based onTotalHitCountCollector
that allows users to parallelize counting the number of hits, expected to be used mostly wrapped inMultiCollectorManager
.Methods in org.apache.lucene.search that return CollectorManager Modifier and Type Method Description static CollectorManager<TopFieldCollector,TopFieldDocs>
TopFieldCollector. createSharedManager(Sort sort, int numHits, FieldDoc after, int totalHitsThreshold)
Create a CollectorManager which uses a shared hit counter to maintain number of hits and a sharedMaxScoreAccumulator
to propagate the minimum score accross segments if the primary sort is by relevancy.static CollectorManager<TopScoreDocCollector,TopDocs>
TopScoreDocCollector. createSharedManager(int numHits, ScoreDoc after, int totalHitsThreshold)
Create a CollectorManager which uses a shared hit counter to maintain number of hits and a sharedMaxScoreAccumulator
to propagate the minimum score accross segmentsMethods in org.apache.lucene.search with parameters of type CollectorManager Modifier and Type Method Description <C extends Collector,T>
TIndexSearcher. search(Query query, CollectorManager<C,T> collectorManager)
Lower-level search API.Constructors in org.apache.lucene.search with parameters of type CollectorManager Constructor Description MultiCollectorManager(CollectorManager<? extends Collector,?>... collectorManagers)
-