Trait tique::conditional_collector::ConditionForSegment[][src]

pub trait ConditionForSegment<T>: Clone {
    type Type: CheckCondition<T>;
    fn for_segment(&self, reader: &SegmentReader) -> Self::Type;
}
Expand description

A trait that allows defining arbitrary conditions to be checked before considering a matching document for inclusion in the top results.

Associated Types

The concrete type of the result from calling for_segment

Required methods

Creates a Self::Type instance responsible for checking if the matching documents in the given segment reader are to be considered as collection candidates.

Implementations on Foreign Types

Implementors