logo
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

returns the num of values associated to a doc_id

returns the sum of num values for all doc_ids

Implementors