Trait tique::conditional_collector::CheckCondition [−][src]
pub trait CheckCondition<T>: 'static + Clone {
fn check(
&self,
segment_ord: SegmentOrdinal,
doc_id: DocId,
score: T,
ascending: bool
) -> bool;
}
Expand description
The condition that gets checked before collection. In order for
a document to appear in the results it must first return true
for check
.