Expand description
Cross-crate vocabulary for the text plugin.
The write path carries one TextIndexDoc per indexed literal from compute
to the O partition, and the plugin’s configuration names one analyzer from
the ANALYZERS menu. Both live here — beside the geo and temporal posting
types — so compute, the partition and the index engine share one definition
without any of them linking Tantivy.
Structs§
- Text
Index Doc - One literal to add to the text index.
- Text
Search Request - One candidate drain request.
- Text
Subject Request - One subject-resolve request: the subject form of
text:query. - Text
Subject Row - One resolved row of a
TextSubjectRequest.
Enums§
- Text
Candidate Mode - Which candidate query to run against a text index.
Constants§
- ANALYZERS
- Analyzer menu: config value → tokenizer name registered on the index.
- DEFAULT_
ANALYZER - Default analyzer name: tokenize, drop over-long tokens, lowercase.
- DEFAULT_
SEED_ CHARS - Default number of characters stored in the bounded prefix and suffix fields.
- LANG_
NONE - Language-field sentinel for a literal without a language tag.
- MAX_
INDEXED_ LEXICAL_ BYTES - Largest string-literal lexical the text index accepts, in bytes.
- MAX_
SEED_ CHARS - Largest accepted seed length.
- RAW_
TOKENIZER - Tokenizer name used by the bounded seed fields and the language field.
Functions§
- registered_
analyzer - The registered tokenizer name for a configuration analyzer value.
- text_
index_ key - The logical identity of one text document:
(predicate, literal).