Trait tantivy::fastfield::MultiValueLength
source · [−]pub trait MultiValueLength {
fn get_len(&self, doc_id: DocId) -> u64;
fn get_total_len(&self) -> u64;
}
Expand description
Trait for BytesFastFieldReader
and MultiValuedFastFieldReader
to return the length of data
for a doc_id
Required Methods
fn get_total_len(&self) -> u64
fn get_total_len(&self) -> u64
returns the sum of num values for all doc_ids