[Groonga-commit] groonga/groonga at 573a0cb [master] doc: fix wrong examples

Back to archive index
Yasuhiro Horimoto null+****@clear*****
Wed Nov 21 13:01:48 JST 2018


Yasuhiro Horimoto	2018-11-21 13:01:48 +0900 (Wed, 21 Nov 2018)

  Revision: 573a0cbbdf629b963490fd9a9ee342b7528d01cd
  https://github.com/groonga/groonga/commit/573a0cbbdf629b963490fd9a9ee342b7528d01cd

  Message:
    doc: fix wrong examples

  Copied files:
    doc/source/example/reference/commands/select/drilldowns_label_output_columns_multiple_group_key.log
      (from doc/source/example/reference/commands/select/drilldowns_label_output_columns_single_group_key.log)
  Modified files:
    doc/source/example/reference/commands/select/drilldowns_label_output_columns_single_group_key.log
    doc/source/reference/commands/select.rst

  Copied: doc/source/example/reference/commands/select/drilldowns_label_output_columns_multiple_group_key.log (+0 -0) 100%
===================================================================

  Modified: doc/source/example/reference/commands/select/drilldowns_label_output_columns_single_group_key.log (+21 -32)
===================================================================
--- doc/source/example/reference/commands/select/drilldowns_label_output_columns_single_group_key.log    2018-11-21 12:19:58 +0900 (e00ce6d7d)
+++ doc/source/example/reference/commands/select/drilldowns_label_output_columns_single_group_key.log    2018-11-21 13:01:48 +0900 (b77a3448a)
@@ -1,58 +1,47 @@
 Execution example::
 
-  select Entries \
-    --limit 0 \
-    --output_columns _id \
-    --drilldowns[tag.n_likes].keys tag,n_likes \
-    --drilldowns[tag.n_likes].output_columns _value.tag,_value.n_likes
+ select Entries \
+   --limit 0 \
+   --output_columns _id \
+   --drilldowns[tag.n_likes].keys tag \
+   --drilldowns[tag.n_likes].output_columns _key
   # [
   #   [
-  #     0, 
-  #     1337566253.89858, 
-  #     0.000355720520019531
-  #   ], 
+  #     0,
+  #     1542772065.869136,
+  #     0.0003108978271484375
+  #   ],
   #   [
   #     [
   #       [
   #         5
-  #       ], 
+  #       ],
   #       [
   #         [
-  #           "_id", 
+  #           "_id",
   #           "UInt32"
   #         ]
   #       ]
-  #     ], 
+  #     ],
   #     {
   #       "tag.n_likes": [
   #         [
-  #           4
-  #         ], 
+  #           3
+  #         ],
   #         [
   #           [
-  #             "tag", 
+  #             "_key",
   #             "ShortText"
-  #           ], 
-  #           [
-  #             "n_likes", 
-  #             "UInt32"
   #           ]
-  #         ], 
+  #         ],
   #         [
-  #           "Hello", 
-  #           5
-  #         ], 
+  #           "Hello"
+  #         ],
   #         [
-  #           "Groonga", 
-  #           10
-  #         ], 
+  #           "Groonga"
+  #         ],
   #         [
-  #           "Groonga", 
-  #           15
-  #         ], 
-  #         [
-  #           "Senna", 
-  #           3
+  #           "Senna"
   #         ]
   #       ]
   #     }

  Modified: doc/source/reference/commands/select.rst (+1 -1)
===================================================================
--- doc/source/reference/commands/select.rst    2018-11-21 12:19:58 +0900 (542be66db)
+++ doc/source/reference/commands/select.rst    2018-11-21 13:01:48 +0900 (879cfb9ad)
@@ -2272,7 +2272,7 @@ Here is an example to refer each group key in multiple group keys by
 ``_value.${KEY_NAME}`` syntax:
 
 .. groonga-command
-.. include:: ../../example/reference/commands/select/drilldowns_label_output_columns_single_group_key.log
+.. include:: ../../example/reference/commands/select/drilldowns_label_output_columns_multiple_group_key.log
 .. select Entries \
 ..   --limit 0 \
 ..   --output_columns _id \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20181121/06d7294b/attachment-0001.html>


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