Kouhei Sutou
null+****@clear*****
Fri Dec 28 15:00:23 JST 2012
Kouhei Sutou 2012-12-28 15:00:23 +0900 (Fri, 28 Dec 2012) New Revision: 8a3fb2464f755bf189a36198775c896841c3fd48 https://github.com/groonga/groonga/commit/8a3fb2464f755bf189a36198775c896841c3fd48 Log: doc table_create: use --default_tokenizer and --normalizer Modified files: doc/source/reference/commands/table_create.txt Modified: doc/source/reference/commands/table_create.txt (+9 -3) =================================================================== --- doc/source/reference/commands/table_create.txt 2012-12-28 14:55:27 +0900 (5b31fde) +++ doc/source/reference/commands/table_create.txt 2012-12-28 15:00:23 +0900 (9fabc16) @@ -69,10 +69,16 @@ Here is an example to create ``TABLE_PAT_KEY`` table: .. groonga-command .. include:: ../../example/reference/commands/table_create/lexicon_table_pat_key.log -.. table_create Lexicon TABLE_PAT_KEY ShortText +.. table_create Lexicon TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto -The ``table_create`` command creates a table that is named -``Lexicon``, is ``TABLE_PAT_KEY`` type and has ``ShortText`` type key. +The ``table_create`` command creates the following table: + +* The table is named ``Lexicon``. +* The table is ``TABLE_PAT_KEY`` type table. +* The table's key is ``ShortText`` type. +* The table uses ``TokenBigram`` tokenizer to extract tokens from a + normalized text. +* The table uses ``NormalizerAuto`` normalizer to normalize a text. ``TABLE_PAT_KEY`` is suitable table type for lexicon table. Lexicon table is used for fulltext search. -------------- next part -------------- HTML����������������������������... Download