[Groonga-commit] groonga/groonga at 2870e2d [master] doc: add vector_size execution examples

Back to archive index

HAYASHI Kentaro null+****@clear*****
Tue Apr 28 15:59:56 JST 2015


HAYASHI Kentaro	2015-04-28 15:59:56 +0900 (Tue, 28 Apr 2015)

  New Revision: 2870e2d430d8666a02f7e6c8d883e3b57a6b23d7
  https://github.com/groonga/groonga/commit/2870e2d430d8666a02f7e6c8d883e3b57a6b23d7

  Message:
    doc: add vector_size execution examples

  Added files:
    doc/source/example/reference/functions/vector_size/usage_only.log
    doc/source/example/reference/functions/vector_size/usage_setup_data.log
    doc/source/example/reference/functions/vector_size/usage_setup_schema.log

  Added: doc/source/example/reference/functions/vector_size/usage_only.log (+44 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/example/reference/functions/vector_size/usage_only.log    2015-04-28 15:59:56 +0900 (b4a3660)
@@ -0,0 +1,44 @@
+Execution example::
+
+  select Memos --output_columns 'tags, vector_size(tags)' --command_version 2
+  # [
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
+  #   [
+  #     [
+  #       [
+  #         3
+  #       ], 
+  #       [
+  #         [
+  #           "tags", 
+  #           "ShortText"
+  #         ], 
+  #         [
+  #           "vector_size", 
+  #           "Object"
+  #         ]
+  #       ], 
+  #       [
+  #         [
+  #           "Groonga"
+  #         ], 
+  #         1
+  #       ], 
+  #       [
+  #         [
+  #           "Groonga", 
+  #           "Ruby"
+  #         ], 
+  #         2
+  #       ], 
+  #       [
+  #         [], 
+  #         0
+  #       ]
+  #     ]
+  #   ]
+  # ]

  Added: doc/source/example/reference/functions/vector_size/usage_setup_data.log (+9 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/example/reference/functions/vector_size/usage_setup_data.log    2015-04-28 15:59:56 +0900 (598f8de)
@@ -0,0 +1,9 @@
+Execution example::
+
+  load --table Memos
+  [
+  {"_key": "Groonga",          "tags": ["Groonga"]},
+  {"_key": "Rroonga",          "tags": ["Groonga", "Ruby"]},
+  {"_key": "Nothing"}
+  ]
+  # [[0, 1337566253.89858, 0.000355720520019531], 3]

  Added: doc/source/example/reference/functions/vector_size/usage_setup_schema.log (+6 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/example/reference/functions/vector_size/usage_setup_schema.log    2015-04-28 15:59:56 +0900 (936ddda)
@@ -0,0 +1,6 @@
+Execution example::
+
+  table_create Memos TABLE_HASH_KEY ShortText
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
+  column_create Memos tags COLUMN_VECTOR ShortText
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
-------------- next part --------------
HTML����������������������������...
Download 



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