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 TypeInterfaceDescriptioninterfaceCollectorManager<C extends Collector,T> A manager of collectors.Classes in org.apache.lucene.search that implement CollectorModifier and TypeClassDescriptionclassCaches all docs, and optionally also scores, coming from a search, and is then able to replay them to another collector.classCollectordelegator.classclassclassBaseCollectorimplementation that is used to collect all contexts.classTheTimeLimitingCollectoris used to timeout search requests that take longer than the maximum allowed search time limit.classTopDocsCollector<T extends ScoreDoc>A base class for all collectors that return aTopDocsoutput.classclassclassJust 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 wrappedCollectors for advanced use-casesMultiCollectorManager.newCollector()static CollectorWraps a list ofCollectors with aMultiCollector.static CollectorMethods in org.apache.lucene.search with parameters of type CollectorModifier and TypeMethodDescriptionstatic CachingCollectorCreate a newCachingCollectorthat wraps the given collector and caches documents and scores up to the specified RAM threshold.static CachingCollectorCreate a newCachingCollectorthat wraps the given collector and caches documents and scores up to the specified max docs threshold.abstract voidReplays the cached doc IDs (and scores) to the given Collector.protected voidIndexSearcher.search(List<LeafReaderContext> leaves, Weight weight, Collector collector) Lower-level search API.voidLower-level search API.voidTimeLimitingCollector.setCollector(Collector collector) This is so the same timer can be used with a multi-phase search process such as grouping.static CollectorMethod parameters in org.apache.lucene.search with type arguments of type CollectorModifier and TypeMethodDescriptionObject[]MultiCollectorManager.reduce(Collection<Collector> reducableCollectors) static CollectorWraps a list ofCollectors 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 anotherCollectorwith a specified timeout.