/// Iterator over all Documents in their order as they are stored in the doc store.
/// Use this, if you want to extract all Documents from the doc store.
/// The delete_bitset has to be forwarded from the `SegmentReader` or the results maybe wrong.
Iterator over all Documents in their order as they are stored in the doc store.
Use this, if you want to extract all Documents from the doc store.
The delete_bitset has to be forwarded from the `SegmentReader` or the results maybe wrong.
Iterator over all Documents in their order as they are stored in the doc store . Use this if you want to extract all Documents from the doc store . The delete_bitset has to be forwarded from the ` SegmentReader ` or the results maybe wrong .
pub fn iter<'a: 'b, 'b>(
        &'b self,
        delete_bitset: Option<&'a DeleteBitSet>,
    ) -> impl Iterator<Item = crate::Result<Document>> + 'b {
        self.iter_raw(delete_bitset).map(|doc_bytes_res| {
            let mut doc_bytes = doc_bytes_res?;
            Ok(Document::deserialize(&mut doc_bytes)?)
        })
    }
pub fn iter < ' a : ' b , ' b > ( & ' b self , delete_bitset : Option < & ' a DeleteBitSet > , ) -> impl Iterator < Item = crate :: Result < Document > > + ' b { self . iter_raw ( delete_bitset ) . map ( | doc_bytes_res | { let mut doc_bytes = doc_bytes_res ? ; Ok ( Document :: deserialize ( & mut doc_bytes ) ? ) } ) }
Iterator over all Documents in their order as they are stored in the doc store.
Iterator over all Documents in their order as they are stored in the doc store .
&'b self
delete_bitset
Option<&'a DeleteBitSet>