[−][src]Trait tique::conditional_collector::ConditionForSegment
A trait that allows defining arbitrary conditions to be checked before considering a matching document for inclusion in the top results.
Associated Types
type Type: CheckCondition<T>
Required methods
fn for_segment(&self, reader: &SegmentReader) -> Self::Type
Implementations on Foreign Types
impl<T> ConditionForSegment<T> for bool
[src]
type Type = bool
fn for_segment(&self, _reader: &SegmentReader) -> Self::Type
[src]
impl<T> ConditionForSegment<T> for (T, DocAddress) where
T: 'static + PartialOrd + Copy,
[src]
T: 'static + PartialOrd + Copy,
type Type = Self
fn for_segment(&self, _reader: &SegmentReader) -> Self::Type
[src]
Implementors
impl<T, C, F> ConditionForSegment<T> for F where
F: Clone + Fn(&SegmentReader) -> C,
C: CheckCondition<T>,
[src]
F: Clone + Fn(&SegmentReader) -> C,
C: CheckCondition<T>,