Struct tantivy::postings::InvertedIndexSerializer [] [src]

pub struct InvertedIndexSerializer { /* fields omitted */ }

PostingsSerializer is in charge of serializing postings on disk, in the

PostingsWriter are in charge of pushing the data to the serializer.

The serializer expects to receive the following calls in this order :

Terms have to be pushed in a lexicographically-sorted order. Within a term, document have to be pushed in increasing order.

A description of the serialization format is available here.

Methods

impl InvertedIndexSerializer
[src]

[src]

Open a new PostingsSerializer for the given segment

[src]

Must be called before starting pushing terms of a given field.

Loads the indexing options for the given field.

[src]

Closes the serializer.