[Groonga-commit] groonga/groonga at adc5ff1 [master] doc: add plugin_unregister command document

Back to archive index

HAYASHI Kentaro null+****@clear*****
Fri Mar 27 11:40:25 JST 2015


HAYASHI Kentaro	2015-03-27 11:40:25 +0900 (Fri, 27 Mar 2015)

  New Revision: adc5ff1540c1af363ad5df8ebb16c16db533ac5a
  https://github.com/groonga/groonga/commit/adc5ff1540c1af363ad5df8ebb16c16db533ac5a

  Message:
    doc: add plugin_unregister command document

  Added files:
    doc/source/reference/commands/plugin_unregister.rst

  Added: doc/source/reference/commands/plugin_unregister.rst (+55 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/reference/commands/plugin_unregister.rst    2015-03-27 11:40:25 +0900 (5091385)
@@ -0,0 +1,55 @@
+.. -*- rst -*-
+
+.. highlightlang:: none
+
+.. groonga-command
+.. database: commands_plugin_unregister
+
+``plugin_unregister``
+============
+
+.. versionadded: 5.0.1
+
+Summary
+-------
+
+``plugin_unregister`` command unregisters a plugin.
+
+You need just one ``plugin_unregister`` command for a plugin in the
+same database because it removes registered plugin information which
+is written into the database.
+
+Syntax
+------
+
+``plugin_unregister`` has a parameter ``name``. It is required parameter::
+
+  plugin_unregister name
+
+Usage
+-----
+
+Here is a sample that unregisters ``QueryExpanderTSV`` query expander
+that is included in
+``${PREFIX}/lib/groonga/plugins/query_expanders/tsv.so``.
+
+.. groonga-command
+.. include:: ../../example/reference/commands/plugin_unregister/query_expanders_tsv.log
+.. plugin_unregister query_expanders/tsv
+
+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``.
+
+Return value
+------------
+
+``plugin_unregister`` returns ``true`` as body on success such as::
+
+  [HEADER, true]
+
+If ``plugin_unregister`` fails, error details are in ``HEADER``.
+
+See :doc:`/reference/command/output_format` for ``HEADER``.
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index