pub struct PositionPostingListWriter { /* private fields */ }Expand description
Builds a posting list that includes term positions (for phrase queries).
Format:
[num_docs: u32] [flags: u8 = 0x01]
Per doc: [delta: vbyte] [tf: vbyte] [pos_0: vbyte] [pos_delta_1: vbyte] ...Positions are delta-encoded within each document.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PositionPostingListWriter
impl RefUnwindSafe for PositionPostingListWriter
impl Send for PositionPostingListWriter
impl Sync for PositionPostingListWriter
impl Unpin for PositionPostingListWriter
impl UnsafeUnpin for PositionPostingListWriter
impl UnwindSafe for PositionPostingListWriter
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more