Struct AllWeight
tantivy::query
pub struct AllWeight;
Weight associated to the AllQuery query.
AllQuery
impl Weight for AllWeight
fn scorer(&self, reader: &SegmentReader) -> Result<Box<Scorer>>
Returns the scorer for the given segment. See Query. Read more
Query
fn count(&self, reader: &SegmentReader) -> Result<u32>
Returns the number documents within the given SegmentReader.
SegmentReader
impl Send for AllWeight
impl Sync for AllWeight