[Groonga-commit] groonga/groonga [master] doc en: add documentation about additional normalizer plugin

Back to archive index

HAYASHI Kentaro null+****@clear*****
Tue Feb 5 17:51:23 JST 2013


HAYASHI Kentaro	2013-02-05 17:51:23 +0900 (Tue, 05 Feb 2013)

  New Revision: 1239a5f11fad18d0926ce87df72221b43800b965
  https://github.com/groonga/groonga/commit/1239a5f11fad18d0926ce87df72221b43800b965

  Log:
    doc en: add documentation about additional normalizer plugin

  Modified files:
    doc/source/reference/normalizers.txt

  Modified: doc/source/reference/normalizers.txt (+24 -0)
===================================================================
--- doc/source/reference/normalizers.txt    2013-02-05 17:31:37 +0900 (36ca829)
+++ doc/source/reference/normalizers.txt    2013-02-05 17:51:23 +0900 (645372c)
@@ -116,6 +116,30 @@ Here is an example that uses ``NormalizerNFKC51`` normalizer:
 .. include:: ../example/reference/normalizers/normalizer-nfkc51.log
 .. table_create NFKC51Lexicon TABLE_HASH_KEY ShortText --normalizer NormalizerNFKC51
 
+Additional normalizers
+----------------------
+
+Here is a list of additional normalizers provided by ``groonga-normalizer-mysql`` plugins:
+
+  * ``NormalizerMySQLGeneralCI``
+
+``groonga-normalizer-mysql`` is a groonga plugin.
+It provides MySQL compatible normalizers to groonga.
+``NormalizerMySQLGeneralCI`` corresponds to ``utf8mb4_general_ci``.
+
+You need to register ``normalizers/mysql`` plugin in advance.
+
+.. groonga-command
+.. include:: ../example/reference/normalizers/normalizer-mysql-register.log
+.. register normalizers/mysql
+
+Here is an example that uses ``NormalizerMySQLGeneralCI`` normalizer:
+
+.. groonga-command
+.. include:: ../example/reference/normalizers/normalizer-mysql-genral-ci.log
+.. table_create MySQLGeneralLexicon TABLE_HASH_KEY ShortText --normalizer NormalizerMySQLGeneralCI
+
+
 See also
 --------
 
-------------- next part --------------
HTML����������������������������...
Download 



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