[Groonga-commit] groonga/groonga at be4b345 [master] doc: update example

Back to archive index

HAYASHI Kentaro null+****@clear*****
Sun Sep 28 06:44:43 JST 2014


HAYASHI Kentaro	2014-09-28 06:44:43 +0900 (Sun, 28 Sep 2014)

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

  Message:
    doc: update example

  Modified files:
    doc/source/example/tutorial/query_expansion-1.log
    doc/source/example/tutorial/query_expansion-2.log
    doc/source/example/tutorial/query_expansion-3.log

  Modified: doc/source/example/tutorial/query_expansion-1.log (+4 -4)
===================================================================
--- doc/source/example/tutorial/query_expansion-1.log    2014-09-28 06:44:19 +0900 (45a4917)
+++ doc/source/example/tutorial/query_expansion-1.log    2014-09-28 06:44:43 +0900 (5775f27)
@@ -14,13 +14,13 @@ Execution example::
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   load --table Doc
   [
-  {"_key": "001", "body": "すっぱいブドウと甘いシークァーサー"},
-  {"_key": "002", "body": "シークヮーサージュースとゴーヤチャンプル"},
+  {"_key": "001", "body": "Play all night in this theater."},
+  {"_key": "002", "body": "theatre is British spelling."},
   ]
   # [[0, 1337566253.89858, 0.000355720520019531], 2]
   load --table Synonym
   [
-  {"_key": "シークァーサー", "body": "(シークァーサー OR シークヮーサー)"},
-  {"_key": "シークヮーサー", "body": "(シークァーサー OR シークヮーサー)"},
+  {"_key": "theater", "body": "(theater OR theatre)"},
+  {"_key": "theatre", "body": "(theater OR theatre)"},
   ]
   # [[0, 1337566253.89858, 0.000355720520019531], 2]

  Modified: doc/source/example/tutorial/query_expansion-2.log (+4 -4)
===================================================================
--- doc/source/example/tutorial/query_expansion-2.log    2014-09-28 06:44:19 +0900 (ca76bef)
+++ doc/source/example/tutorial/query_expansion-2.log    2014-09-28 06:44:43 +0900 (e21531a)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select Doc --match_columns body --query "シークァーサー"
+  select Doc --match_columns body --query "theater"
   # [
   #   [
   #     0, 
@@ -29,12 +29,12 @@ Execution example::
   #       [
   #         1, 
   #         "001", 
-  #         "すっぱいブドウと甘いシークァーサー"
+  #         "Play all night in this theater."
   #       ]
   #     ]
   #   ]
   # ]
-  select Doc --match_columns body --query "シークヮーサー"
+  select Doc --match_columns body --query "theatre"
   # [
   #   [
   #     0, 
@@ -63,7 +63,7 @@ Execution example::
   #       [
   #         2, 
   #         "002", 
-  #         "シークヮーサージュースとゴーヤチャンプル"
+  #         "theatre is British spelling."
   #       ]
   #     ]
   #   ]

  Modified: doc/source/example/tutorial/query_expansion-3.log (+6 -6)
===================================================================
--- doc/source/example/tutorial/query_expansion-3.log    2014-09-28 06:44:19 +0900 (96ecb8d)
+++ doc/source/example/tutorial/query_expansion-3.log    2014-09-28 06:44:43 +0900 (27aeadc)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select Doc --match_columns body --query "シークァーサー" --query_expander Synonym.body
+  select Doc --match_columns body --query "theater" --query_expander Synonym.body
   # [
   #   [
   #     0, 
@@ -29,17 +29,17 @@ Execution example::
   #       [
   #         1, 
   #         "001", 
-  #         "すっぱいブドウと甘いシークァーサー"
+  #         "Play all night in this theater."
   #       ], 
   #       [
   #         2, 
   #         "002", 
-  #         "シークヮーサージュースとゴーヤチャンプル"
+  #         "theatre is British spelling."
   #       ]
   #     ]
   #   ]
   # ]
-  select Doc --match_columns body --query "シークヮーサー" --query_expander Synonym.body
+  select Doc --match_columns body --query "theatre" --query_expander Synonym.body
   # [
   #   [
   #     0, 
@@ -68,12 +68,12 @@ Execution example::
   #       [
   #         1, 
   #         "001", 
-  #         "すっぱいブドウと甘いシークァーサー"
+  #         "Play all night in this theater."
   #       ], 
   #       [
   #         2, 
   #         "002", 
-  #         "シークヮーサージュースとゴーヤチャンプル"
+  #         "theatre is British spelling."
   #       ]
   #     ]
   #   ]
-------------- next part --------------
HTML����������������������������...
Download 



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