Struct tantivy::collector::MultiCollector [] [src]

pub struct MultiCollector<'a> { /* fields omitted */ }

Multicollector makes it possible to collect on more than one collector. It should only be used for use cases where the Collector types is unknown at compile time. If the type of the collectors is known, you should prefer to use ChainedCollector.

Methods

impl<'a> MultiCollector<'a>
[src]

[src]

Constructor

Trait Implementations

impl<'a> Collector for MultiCollector<'a>
[src]

[src]

set_segment is called before beginning to enumerate on this segment. Read more

[src]

The query pushes the scored document to the collector via this method.