Skip to main content

register

Function register 

Source
pub fn register(
    host: &mut PluginHost,
    config: &TextPluginConfig,
) -> Result<(), ComputeError>
Expand description

Register the text plugin bundle + the text:query pass-through on host (the composition point every plugin crate shares; the binary then installs the composed host exactly once, BEFORE any QueryEngine is constructed).

config decides whether the plugin participates at all: enabled = false registers nothing (the index would be maintained by nobody), and the caller still owns the config file plumbing. The fingerprint travels with the planner so every rewrite compares against the same settings the build used.