Skip to main content

register_analyzers

Function register_analyzers 

Source
pub fn register_analyzers(index: &Index)
Expand description

Register the analyzer menu on index.

Called on every create and every open: the tokenizer manager is per [Index] in memory, so the names must be present before indexing or searching. The menu is Waratah-owned so a Tantivy upgrade cannot change the analysis of an existing index under it.