Struct tantivy::fastfield::BytesFastFieldReader[][src]

pub struct BytesFastFieldReader { /* fields omitted */ }

Reader for byte array fast fields

The reader is implemented as a u64 fast field and a separate collection of bytes.

The vals_reader will access the concatenated list of all values for all documents.

The idx_reader associates, for each document, the index of its first value.

Reading the value for a document is done by reading the start index for it, and the start index for the next document, and keeping the bytes in between.

Methods

impl BytesFastFieldReader
[src]

Important traits for &'a [u8]

Returns the bytes associated to the given doc

Auto Trait Implementations