[Groonga-mysql-commit] mroonga/mroonga at 6eaf46c [master] doc: add documentation about mroonga_action_on_fulltext_query_error variable

アーカイブの一覧に戻る

HAYASHI Kentaro null+****@clear*****
Thu Jul 25 15:40:54 JST 2013


HAYASHI Kentaro	2013-07-25 15:40:54 +0900 (Thu, 25 Jul 2013)

  New Revision: 6eaf46cd7bb4d52d5b1f095459d8a8d1e6fe31e5
  https://github.com/mroonga/mroonga/commit/6eaf46cd7bb4d52d5b1f095459d8a8d1e6fe31e5

  Message:
    doc: add documentation about mroonga_action_on_fulltext_query_error variable

  Modified files:
    doc/source/reference/server_variables.rst

  Modified: doc/source/reference/server_variables.rst (+34 -0)
===================================================================
--- doc/source/reference/server_variables.rst    2013-07-25 15:40:12 +0900 (b9a59d2)
+++ doc/source/reference/server_variables.rst    2013-07-25 15:40:54 +0900 (b44c5ed)
@@ -5,6 +5,40 @@ Server variables
 
 Here are the explanations of server variables that are introduced by mroonga.
 
+.. _mroonga_action_on_fulltext_query_error:
+
+mroonga_action_on_fulltext_query_error
+--------------------------------------
+
+The default behavior of fulltext query error.
+
+The default value of ``mroonga_action_on_fulltext_query_error`` is ``ERROR_AND_LOG``.
+This is the conventional behavior which is equal to old version of mroonga.
+
+Here is the list of ``mroonga_action_on_fulltext_query_error`` which you can use.
+
++----------------+--------------------------------------------------------------------------------+
+| Action         | Description                                                                    |
++================+================================================================================+
+| ERROR          | Report an error. Logging is disabled.                                          |
++----------------+--------------------------------------------------------------------------------+
+| ERROR_AND_LOG  | Report an error. Logging is enabled. (This is the default)                     |
++----------------+--------------------------------------------------------------------------------+
+| IGNORE         | Just ignore an error. Logging is disabled.                                     |
++----------------+--------------------------------------------------------------------------------+
+| IGNORE_AND_LOG | Ignore an error, but logging is enabled. (Similar to InnoDB behavior)          |
++----------------+--------------------------------------------------------------------------------+
+
+Here is an example SQL to confirm the value of ``mroonga_action_on_fulltext_query_error``::
+
+  mysql> SHOW VARIABLES LIKE 'mroonga_action_on_fulltext_query_error';
+  +----------------------------------------+---------------+
+  | Variable_name                          | Value         |
+  +----------------------------------------+---------------+
+  | mroonga_action_on_fulltext_query_error | ERROR_AND_LOG |
+  +----------------------------------------+---------------+
+  1 row in set (0.00 sec)
+
 mroonga_default_parser
 ----------------------
 
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-mysql-commit mailing list
アーカイブの一覧に戻る