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
TopFieldCollectorManager
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
TopScoreDocCollectorManager
Create a TopScoreDocCollectorManager which uses a shared hit counter to maintain number of hits and a sharedMaxScoreAccumulator
to propagate the minimum score across segmentsclass
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)
Deprecated.This method is deprecated in favor of the constructor ofTopFieldCollectorManager
due to its support for concurrency in IndexSearcherstatic CollectorManager<TopScoreDocCollector,TopDocs>
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 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)
-