reduce

open override fun reduce(collectors: MutableCollection<TopFieldCollector>): TopFieldDocs

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.