[Groonga-commit] groonga/groonga at f615c3e [master] doc: update examples

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Jul 22 21:02:51 JST 2015


Kouhei Sutou	2015-07-22 21:02:51 +0900 (Wed, 22 Jul 2015)

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

  Message:
    doc: update examples

  Modified files:
    doc/source/example/tutorial/match_columns-1.log
    doc/source/example/tutorial/match_columns-2.log
    doc/source/example/tutorial/match_columns-3.log
    doc/source/example/tutorial/match_columns-4.log
    doc/source/example/tutorial/match_columns-nested-index-data-with-three-relationship.log
    doc/source/example/tutorial/match_columns-nested-index-data.log
    doc/source/example/tutorial/match_columns-nested-index-schema-with-three-relationship.log
    doc/source/example/tutorial/match_columns-nested-index-schema.log

  Modified: doc/source/example/tutorial/match_columns-1.log (+4 -4)
===================================================================
--- doc/source/example/tutorial/match_columns-1.log    2015-07-22 20:55:17 +0900 (0e9e5d8)
+++ doc/source/example/tutorial/match_columns-1.log    2015-07-22 21:02:51 +0900 (f818757)
@@ -6,7 +6,7 @@ Execution example::
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create --table Blog1 --name message --flags COLUMN_SCALAR --type ShortText
   # [[0, 1337566253.89858, 0.000355720520019531], true]
-  table_create --name IndexBlog1 --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
+  table_create --name IndexBlog1 --flags TABLE_PAT_KEY --key_type ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create --table IndexBlog1 --name index_title --flags COLUMN_INDEX|WITH_POSITION --type Blog1 --source title
   # [[0, 1337566253.89858, 0.000355720520019531], true]
@@ -14,8 +14,8 @@ Execution example::
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   load --table Blog1
   [
-  {"_key":"grn1","title":"groonga test","message":"groonga message"},
-  {"_key":"grn2","title":"baseball result","message":"rakutan eggs 4 - 4 groonga moritars"},
-  {"_key":"grn3","title":"groonga message","message":"none"}
+  {"_key":"grn1","title":"Groonga test","message":"Groonga message"},
+  {"_key":"grn2","title":"baseball result","message":"rakutan eggs 4 - 4 Groonga moritars"},
+  {"_key":"grn3","title":"Groonga message","message":"none"}
   ]
   # [[0, 1337566253.89858, 0.000355720520019531], 3]

  Modified: doc/source/example/tutorial/match_columns-2.log (+8 -8)
===================================================================
--- doc/source/example/tutorial/match_columns-2.log    2015-07-22 20:55:17 +0900 (44d4c57)
+++ doc/source/example/tutorial/match_columns-2.log    2015-07-22 21:02:51 +0900 (cd9418f)
@@ -33,19 +33,19 @@ Execution example::
   #       [
   #         1, 
   #         "grn1", 
-  #         "groonga message", 
-  #         "groonga test"
+  #         "Groonga message", 
+  #         "Groonga test"
   #       ], 
   #       [
   #         3, 
   #         "grn3", 
   #         "none", 
-  #         "groonga message"
+  #         "Groonga message"
   #       ], 
   #       [
   #         2, 
   #         "grn2", 
-  #         "rakutan eggs 4 - 4 groonga moritars", 
+  #         "rakutan eggs 4 - 4 Groonga moritars", 
   #         "baseball result"
   #       ]
   #     ]
@@ -85,13 +85,13 @@ Execution example::
   #         3, 
   #         "grn3", 
   #         "none", 
-  #         "groonga message"
+  #         "Groonga message"
   #       ], 
   #       [
   #         1, 
   #         "grn1", 
-  #         "groonga message", 
-  #         "groonga test"
+  #         "Groonga message", 
+  #         "Groonga test"
   #       ]
   #     ]
   #   ]
@@ -130,7 +130,7 @@ Execution example::
   #         3, 
   #         "grn3", 
   #         "none", 
-  #         "groonga message"
+  #         "Groonga message"
   #       ]
   #     ]
   #   ]

  Modified: doc/source/example/tutorial/match_columns-3.log (+4 -4)
===================================================================
--- doc/source/example/tutorial/match_columns-3.log    2015-07-22 20:55:17 +0900 (ff02f88)
+++ doc/source/example/tutorial/match_columns-3.log    2015-07-22 21:02:51 +0900 (8bc79e2)
@@ -6,14 +6,14 @@ Execution example::
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create --table Blog2 --name message --flags COLUMN_SCALAR --type ShortText
   # [[0, 1337566253.89858, 0.000355720520019531], true]
-  table_create --name IndexBlog2 --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
+  table_create --name IndexBlog2 --flags TABLE_PAT_KEY --key_type ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create --table IndexBlog2 --name index_blog --flags COLUMN_INDEX|WITH_POSITION|WITH_SECTION --type Blog2 --source title,message
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   load --table Blog2
   [
-  {"_key":"grn1","title":"groonga test","message":"groonga message"},
-  {"_key":"grn2","title":"baseball result","message":"rakutan eggs 4 - 4 groonga moritars"},
-  {"_key":"grn3","title":"groonga message","message":"none"}
+  {"_key":"grn1","title":"Groonga test","message":"Groonga message"},
+  {"_key":"grn2","title":"baseball result","message":"rakutan eggs 4 - 4 Groonga moritars"},
+  {"_key":"grn3","title":"Groonga message","message":"none"}
   ]
   # [[0, 1337566253.89858, 0.000355720520019531], 3]

  Modified: doc/source/example/tutorial/match_columns-4.log (+8 -8)
===================================================================
--- doc/source/example/tutorial/match_columns-4.log    2015-07-22 20:55:17 +0900 (2fa3195)
+++ doc/source/example/tutorial/match_columns-4.log    2015-07-22 21:02:51 +0900 (4cfff97)
@@ -33,20 +33,20 @@ Execution example::
   #       [
   #         1, 
   #         "grn1", 
-  #         "groonga message", 
-  #         "groonga test"
+  #         "Groonga message", 
+  #         "Groonga test"
   #       ], 
   #       [
   #         2, 
   #         "grn2", 
-  #         "rakutan eggs 4 - 4 groonga moritars", 
+  #         "rakutan eggs 4 - 4 Groonga moritars", 
   #         "baseball result"
   #       ], 
   #       [
   #         3, 
   #         "grn3", 
   #         "none", 
-  #         "groonga message"
+  #         "Groonga message"
   #       ]
   #     ]
   #   ]
@@ -84,14 +84,14 @@ Execution example::
   #       [
   #         1, 
   #         "grn1", 
-  #         "groonga message", 
-  #         "groonga test"
+  #         "Groonga message", 
+  #         "Groonga test"
   #       ], 
   #       [
   #         3, 
   #         "grn3", 
   #         "none", 
-  #         "groonga message"
+  #         "Groonga message"
   #       ]
   #     ]
   #   ]
@@ -130,7 +130,7 @@ Execution example::
   #         3, 
   #         "grn3", 
   #         "none", 
-  #         "groonga message"
+  #         "Groonga message"
   #       ]
   #     ]
   #   ]

  Modified: doc/source/example/tutorial/match_columns-nested-index-data-with-three-relationship.log (+6 -6)
===================================================================
--- doc/source/example/tutorial/match_columns-nested-index-data-with-three-relationship.log    2015-07-22 20:55:17 +0900 (5e66ae4)
+++ doc/source/example/tutorial/match_columns-nested-index-data-with-three-relationship.log    2015-07-22 21:02:51 +0900 (a15f5df)
@@ -2,16 +2,16 @@ Execution example::
 
   load --table Replies2
   [
-  {"_key": 1, "content": "I'm using rroonga too!"},
-  {"_key": 2, "content": "I'm using groonga and mroonga and rroonga!"},
-  {"_key": 3, "content": "I'm using nroonga too!"}
+  {"_key": 1, "content": "I'm using Rroonga too!"},
+  {"_key": 2, "content": "I'm using Groonga and Mroonga and Rroonga!"},
+  {"_key": 3, "content": "I'm using Nroonga too!"}
   ]
   # [[0, 1337566253.89858, 0.000355720520019531], 3]
   load --table Comments2
   [
-  {"_key": 1, "content": "I'm using groonga too!", "comment": 1},
-  {"_key": 2, "content": "I'm using groonga and mroonga!", "comment": 2},
-  {"_key": 3, "content": "I'm using mroonga too!"}
+  {"_key": 1, "content": "I'm using Groonga too!", "comment": 1},
+  {"_key": 2, "content": "I'm using Groonga and Mroonga!", "comment": 2},
+  {"_key": 3, "content": "I'm using Mroonga too!"}
   ]
   # [[0, 1337566253.89858, 0.000355720520019531], 3]
   load --table Articles2

  Modified: doc/source/example/tutorial/match_columns-nested-index-data.log (+3 -3)
===================================================================
--- doc/source/example/tutorial/match_columns-nested-index-data.log    2015-07-22 20:55:17 +0900 (c359782)
+++ doc/source/example/tutorial/match_columns-nested-index-data.log    2015-07-22 21:02:51 +0900 (6fea17f)
@@ -2,9 +2,9 @@ Execution example::
 
   load --table Comments
   [
-  {"_key": 1, "content": "I'm using groonga too!"},
-  {"_key": 2, "content": "I'm using groonga and mroonga!"},
-  {"_key": 3, "content": "I'm using mroonga too!"}
+  {"_key": 1, "content": "I'm using Groonga too!"},
+  {"_key": 2, "content": "I'm using Groonga and Mroonga!"},
+  {"_key": 3, "content": "I'm using Mroonga too!"}
   ]
   # [[0, 1337566253.89858, 0.000355720520019531], 3]
   load --table Articles

  Modified: doc/source/example/tutorial/match_columns-nested-index-schema-with-three-relationship.log (+1 -1)
===================================================================
--- doc/source/example/tutorial/match_columns-nested-index-schema-with-three-relationship.log    2015-07-22 20:55:17 +0900 (f7effa6)
+++ doc/source/example/tutorial/match_columns-nested-index-schema-with-three-relationship.log    2015-07-22 21:02:51 +0900 (dc2e7b6)
@@ -16,7 +16,7 @@ Execution example::
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create Articles2 comment COLUMN_SCALAR Comments2
   # [[0, 1337566253.89858, 0.000355720520019531], true]
-  table_create Lexicon2 TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
+  table_create Lexicon2 TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create Lexicon2 articles_content COLUMN_INDEX|WITH_POSITION Articles2 content
   # [[0, 1337566253.89858, 0.000355720520019531], true]

  Modified: doc/source/example/tutorial/match_columns-nested-index-schema.log (+1 -1)
===================================================================
--- doc/source/example/tutorial/match_columns-nested-index-schema.log    2015-07-22 20:55:17 +0900 (b893b6f)
+++ doc/source/example/tutorial/match_columns-nested-index-schema.log    2015-07-22 21:02:51 +0900 (db79f44)
@@ -10,7 +10,7 @@ Execution example::
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create Articles comment COLUMN_SCALAR Comments
   # [[0, 1337566253.89858, 0.000355720520019531], true]
-  table_create Lexicon TABLE_PAT_KEY|KEY_NORMALIZE ShortText --default_tokenizer TokenBigram
+  table_create Lexicon TABLE_PAT_KEY ShortText --default_tokenizer TokenBigram --normalizer NormalizerAuto
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create Lexicon articles_content COLUMN_INDEX|WITH_POSITION Articles content
   # [[0, 1337566253.89858, 0.000355720520019531], true]
-------------- next part --------------
HTML����������������������������...
Download 



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