7.3.46. plugin_unregister — Groonga v14.0.4 documentation

Skip to main content
`Ctrl`+`K`

# 7.3.46. `plugin_unregister`

Note

This command is an experimental feature.

Added in version 5.0.1.

## 7.3.46.1. Summary

`plugin_unregister` command unregisters a plugin.

## 7.3.46.2. Syntax

This command takes only one required parameter:

    plugin_unregister name

## 7.3.46.3. Usage

Here is a sample that unregisters `QueryExpanderTSV` query expander that is included in `${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so`.

Execution example:

    plugin_unregister query_expanders/tsv
    # [[0,1337566253.89858,0.000355720520019531],true]

You can omit `${PREFIX}/lib/groonga/plugins/` and suffix (`.so`). They are completed automatically.

You can specify absolute path such as `plugin_unregister /usr/lib/groonga/plugins/query_expanders/tsv.so`.

## 7.3.46.4. Return value

`plugin_unregister` returns `true` as body on success such as:

    [HEADER, true]

If `plugin_unregister` fails, error details are in `HEADER`.

See Output format for `HEADER`.

## 7.3.46.5. See also

- plugin_register