Skip to main content

Module doc

Module doc 

Source
Expand description

Tantivy document assembly and the bounded seeds derived from a lexical form.

The partition derives the two bounded fields from the lexical it receives; the write path therefore carries only the encoded term, the lexical and the language tag.

Functionsยง

prefix_seed
First seed_chars characters of lexical, or None when it is empty.
suffix_pattern_seed_reversed
The reversed seed for a suffix pattern: the last seed_chars characters of the pattern, reversed, so it can be used as a prefix on text_end.
suffix_seed_reversed
The last seed_chars characters of lexical, reversed.
to_tantivy
Materialize the Tantivy document for doc.