Uses of Class
org.apache.lucene.search.Collector
Packages that use Collector
- 
Uses of Collector in org.apache.lucene.searchSubclasses of Collector in org.apache.lucene.searchModifier and TypeClassDescriptionclassCaches all docs, and optionally also scores, coming from a search, and is then able to replay them to another collector.classclassclassTheTimeLimitingCollectoris 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 that return CollectorModifier and TypeMethodDescriptionstatic CollectorWraps a list ofCollectors with aMultiCollector.Methods 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.voidbooleanvoidbooleanvoidScores and collects all matching documents.booleanExpert: Collects matching documents in a range.protected voidIndexSearcher.search(List<AtomicReaderContext> leaves, Weight weight, Collector collector) Lower-level search API.voidLower-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 CollectorWraps a list ofCollectors with aMultiCollector.Constructors in org.apache.lucene.search with parameters of type CollectorModifierConstructorDescriptionTimeLimitingCollector(Collector collector, Counter clock, long ticksAllowed) Create a TimeLimitedCollector wrapper over anotherCollectorwith a specified timeout.