Debian Codegraph @

doc/source/reference/commands/plugin_unregister.rst

raw
1 .. -*- rst -*-
2
3 .. groonga-command
4 .. database: commands_plugin_unregister
5
6 ``plugin_unregister``
7 =====================
8
9 .. note::
10
11 This command is an experimental feature.
12
13 .. versionadded:: 5.0.1
14
15 Summary
16 -------
17
18 ``plugin_unregister`` command unregisters a plugin.
19
20 Syntax
21 ------
22
23 This command takes only one required parameter::
24
25 plugin_unregister name
26
27 Usage
28 -----
29
30 Here is a sample that unregisters ``QueryExpanderTSV`` query expander
31 that is included in
32 ``${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so``.
33
34 .. groonga-command
35 .. plugin_register query_expanders/tsv
36
37 .. groonga-command
38 .. include:: ../../example/reference/commands/plugin_unregister/query_expanders_tsv.log
39 .. plugin_unregister query_expanders/tsv
40
41 You can omit ``${PREFIX}/lib/groonga/plugins/`` and suffix (``.so``).
42 They are completed automatically.
43
44 You can specify absolute path such as ``plugin_unregister
45 /usr/lib/groonga/plugins/query_expanders/tsv.so``.
46
47 Return value
48 ------------
49
50 ``plugin_unregister`` returns ``true`` as body on success such as::
51
52 [HEADER, true]
53
54 If ``plugin_unregister`` fails, error details are in ``HEADER``.
55
56 See :doc:`/reference/command/output_format` for ``HEADER``.
57
58 See also
59 --------
60
61 * :doc:`plugin_register`