Enum tantivy::SegmentComponent[][src]

pub enum SegmentComponent {
    POSTINGS,
    POSITIONS,
    POSITIONSSKIP,
    FASTFIELDS,
    FIELDNORMS,
    TERMS,
    STORE,
    DELETE,
}

Enum describing each component of a tantivy segment. Each component is stored in its own file, using the pattern segment_uuid.component_extension, except the delete component that takes an segment_uuid.delete_opstamp.component_extension

Variants

Postings (or inverted list). Sorted lists of document ids, associated to terms

Positions of terms in each document.

Index to seek within the position file

Column-oriented random-access storage of fields.

Stores the sum of the length (in terms) of each field for each document. Field norms are stored as a special u64 fast field.

Dictionary associating Terms to TermInfos which is simply an address into the postings file and the positions file.

Row-oriented, LZ4-compressed storage of the documents. Accessing a document from the store is relatively slow, as it requires to decompress the entire block it belongs to.

Bitset describing which document of the segment is deleted.

Methods

impl SegmentComponent
[src]

Important traits for Iter<'a, T>

Iterates through the components.

Trait Implementations

impl Copy for SegmentComponent
[src]

impl Clone for SegmentComponent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations