[Groonga-commit] groonga/groonga at 309f932 [master] doc: add missing execution examples

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Apr 28 19:02:47 JST 2014


Kouhei Sutou	2014-04-28 19:02:47 +0900 (Mon, 28 Apr 2014)

  New Revision: 309f93247a66f43cf85d4c0c42055615b7edb6e2
  https://github.com/groonga/groonga/commit/309f93247a66f43cf85d4c0c42055615b7edb6e2

  Message:
    doc: add missing execution examples

  Added files:
    doc/source/example/reference/commands/column_list/column_list.log
    doc/source/example/reference/commands/select/adjuster_no_factor.log
    doc/source/reference/example/reference/executables/groonga-suggest-httpd-launch.log
    doc/source/reference/example/reference/executables/groonga-suggest-httpd-setup.log

  Added: doc/source/example/reference/commands/column_list/column_list.log (+82 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/example/reference/commands/column_list/column_list.log    2014-04-28 19:02:47 +0900 (a452ffc)
@@ -0,0 +1,82 @@
+Execution example::
+
+  table_create Users TABLE_PAT_KEY ShortText
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
+  column_create Users age COLUMN_SCALAR UInt8
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
+  column_create Users tags COLUMN_VECTOR ShortText
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
+  column_list Users
+  # [
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
+  #   [
+  #     [
+  #       [
+  #         "id", 
+  #         "UInt32"
+  #       ], 
+  #       [
+  #         "name", 
+  #         "ShortText"
+  #       ], 
+  #       [
+  #         "path", 
+  #         "ShortText"
+  #       ], 
+  #       [
+  #         "type", 
+  #         "ShortText"
+  #       ], 
+  #       [
+  #         "flags", 
+  #         "ShortText"
+  #       ], 
+  #       [
+  #         "domain", 
+  #         "ShortText"
+  #       ], 
+  #       [
+  #         "range", 
+  #         "ShortText"
+  #       ], 
+  #       [
+  #         "source", 
+  #         "ShortText"
+  #       ]
+  #     ], 
+  #     [
+  #       256, 
+  #       "_key", 
+  #       "", 
+  #       "", 
+  #       "COLUMN_SCALAR", 
+  #       "Users", 
+  #       "ShortText", 
+  #       []
+  #     ], 
+  #     [
+  #       257, 
+  #       "age", 
+  #       "/tmp/groonga-databases/commands_column_list.0000101", 
+  #       "fix", 
+  #       "COLUMN_SCALAR|PERSISTENT", 
+  #       "Users", 
+  #       "UInt8", 
+  #       []
+  #     ], 
+  #     [
+  #       258, 
+  #       "tags", 
+  #       "/tmp/groonga-databases/commands_column_list.0000102", 
+  #       "var", 
+  #       "COLUMN_VECTOR|PERSISTENT", 
+  #       "Users", 
+  #       "ShortText", 
+  #       []
+  #     ]
+  #   ]
+  # ]

  Added: doc/source/example/reference/commands/select/adjuster_no_factor.log (+59 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/example/reference/commands/select/adjuster_no_factor.log    2014-04-28 19:02:47 +0900 (94baa82)
@@ -0,0 +1,59 @@
+Execution example::
+
+  select Entries \
+    --filter true \
+    --adjuster 'content @ "groonga"' \
+    --output_columns _key,content,_score
+  # [
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
+  #   [
+  #     [
+  #       [
+  #         5
+  #       ], 
+  #       [
+  #         [
+  #           "_key", 
+  #           "ShortText"
+  #         ], 
+  #         [
+  #           "content", 
+  #           "Text"
+  #         ], 
+  #         [
+  #           "_score", 
+  #           "Int32"
+  #         ]
+  #       ], 
+  #       [
+  #         "The first post!", 
+  #         "Welcome! This is my first post!", 
+  #         1
+  #       ], 
+  #       [
+  #         "Groonga", 
+  #         "I started to use groonga. It's very fast!", 
+  #         2
+  #       ], 
+  #       [
+  #         "Mroonga", 
+  #         "I also started to use mroonga. It's also very fast! Really fast!", 
+  #         1
+  #       ], 
+  #       [
+  #         "Good-bye Senna", 
+  #         "I migrated all Senna system!", 
+  #         1
+  #       ], 
+  #       [
+  #         "Good-bye Tritonn", 
+  #         "I also migrated all Tritonn system!", 
+  #         1
+  #       ]
+  #     ]
+  #   ]
+  # ]

  Added: doc/source/reference/example/reference/executables/groonga-suggest-httpd-launch.log (+3 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/reference/example/reference/executables/groonga-suggest-httpd-launch.log    2014-04-28 19:02:47 +0900 (8941510)
@@ -0,0 +1,3 @@
+Execution example::
+
+  % groonga-suggest-httpd /tmp/groonga-databases/groonga-suggest-httpd

  Added: doc/source/reference/example/reference/executables/groonga-suggest-httpd-setup.log (+3 -0) 100644
===================================================================
--- /dev/null
+++ doc/source/reference/example/reference/executables/groonga-suggest-httpd-setup.log    2014-04-28 19:02:47 +0900 (88bc7f2)
@@ -0,0 +1,3 @@
+Execution example::
+
+  % groonga-suggest-create-dataset /tmp/groonga-databases/groonga-suggest-httpd query
-------------- next part --------------
HTML����������������������������...
Download 



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