[Groonga-commit] groonga/groonga at 726ecc5 [master] doc: update example about query_expansion

Back to archive index

Kentaro Hayashi null+****@clear*****
Wed Mar 15 10:49:00 JST 2017


Kentaro Hayashi	2017-03-15 10:49:00 +0900 (Wed, 15 Mar 2017)

  New Revision: 726ecc565ce1dea24ba60099b2d10001ddc1c0f6
  https://github.com/groonga/groonga/commit/726ecc565ce1dea24ba60099b2d10001ddc1c0f6

  Message:
    doc: update example about query_expansion

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

  Modified: doc/source/example/tutorial/query_expansion-1.log (+3 -3)
===================================================================
--- doc/source/example/tutorial/query_expansion-1.log    2017-03-15 10:43:53 +0900 (57e1fe9)
+++ doc/source/example/tutorial/query_expansion-1.log    2017-03-15 10:49:00 +0900 (d6f52f7)
@@ -10,7 +10,7 @@ Execution example::
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   table_create Synonym TABLE_PAT_KEY ShortText
   # [[0, 1337566253.89858, 0.000355720520019531], true]
-  column_create Synonym body COLUMN_SCALAR ShortText
+  column_create Synonym body COLUMN_VECTOR ShortText
   # [[0, 1337566253.89858, 0.000355720520019531], true]
   load --table Doc
   [
@@ -20,7 +20,7 @@ Execution example::
   # [[0, 1337566253.89858, 0.000355720520019531], 2]
   load --table Synonym
   [
-  {"_key": "theater", "body": "(theater OR theatre)"},
-  {"_key": "theatre", "body": "(theater OR theatre)"},
+  {"_key": "theater", "body": ["theater", "theatre"]},
+  {"_key": "theatre", "body": ["theater", "theatre"]},
   ]
   # [[0, 1337566253.89858, 0.000355720520019531], 2]
-------------- next part --------------
HTML����������������������������...
Download 



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