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 classMultiCollectorManagerACollectorManagerimplements which wrap a set ofCollectorManagerasMultiCollectoracts forCollector.classTopFieldCollectorManagerCreate a TopFieldCollectorManager which uses a shared hit counter to maintain number of hits and a sharedMaxScoreAccumulatorto propagate the minimum score across segments if the primary sort is by relevancy.classTopScoreDocCollectorManagerCreate a TopScoreDocCollectorManager which uses a shared hit counter to maintain number of hits and a sharedMaxScoreAccumulatorto propagate the minimum score across segmentsclassTotalHitCountCollectorManagerCollector manager based onTotalHitCountCollectorthat 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 ofTopFieldCollectorManagerdue 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 ofTopScoreDocCollectorManagerdue 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)
-