[][src]Struct tantivy::postings::TermInfo

pub struct TermInfo {
    pub doc_freq: u32,
    pub postings_offset: u64,
    pub positions_idx: u64,
}

TermInfo wraps the metadata associated to a Term. It is segment-local.

Fields

doc_freq: u32

Number of documents in the segment containing the term

postings_offset: u64

Start offset within the postings (.idx) file.

positions_idx: u64

Start offset of the first block within the position (.pos) file.

Trait Implementations

impl Clone for TermInfo[src]

impl Default for TermInfo[src]

impl Eq for TermInfo[src]

impl Ord for TermInfo[src]

impl PartialEq<TermInfo> for TermInfo[src]

impl PartialOrd<TermInfo> for TermInfo[src]

impl Debug for TermInfo[src]

impl StructuralPartialEq for TermInfo[src]

impl StructuralEq for TermInfo[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Fruit for T where
    T: Send + Downcast
[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T[src]

impl<T> Downcast for T where
    T: Any
[src]

impl<T> DowncastSync for T where
    T: Send + Sync + Any
[src]