Skip to main content

Module registry

Module registry 

Source
Expand description

Named Analyzer registry. Built-in entries (whitespace, standard, standard_cjk, keyword, and feature-enabled nori) are immutable. Users register custom analyzers under any other name; built-in names cannot be overwritten or dropped.

Enums§

RegistryError

Constants§

DEFAULT_ANALYZER_NAME
Built-in default analyzer name.

Functions§

builtin_analyzer_names
Return the names of every built-in analyzer exposed by this feature set.
drop_analyzer
get_analyzer
is_builtin_analyzer
Return whether a name is reserved by an immutable built-in analyzer.
list_analyzers
register_analyzer