MultiCollectorManager
class MultiCollectorManager(collectorManagers: CollectorManager<out Collector, *>?) : CollectorManager<Collector, Array<Any?>>
A composite CollectorManager which wraps a set of CollectorManager instances, akin to how MultiCollector wraps Collector instances.
Functions
Link copied to clipboard
Return a new Collector. This must return a different instance on each call.
Link copied to clipboard
Reduce the results of individual collectors into a meaningful result. For instance a [ ] would compute the top docs of each collector and then merge them using TopDocs.merge. This method must be called after collection is finished on all provided collectors.