[Groonga-commit] groonga/groonga [master] doc: update execution examples

Back to archive index

HAYASHI Kentaro null+****@clear*****
Thu Mar 28 17:50:38 JST 2013


HAYASHI Kentaro	2013-03-28 17:50:38 +0900 (Thu, 28 Mar 2013)

  New Revision: 33a9f368c861c35134503a3757bec3d70c32ffff
  https://github.com/groonga/groonga/commit/33a9f368c861c35134503a3757bec3d70c32ffff

  Message:
    doc: update execution examples

  Modified files:
    doc/source/example/reference/functions/sub_filter/usage_with_sub_filter.log
    doc/source/example/reference/functions/sub_filter/usage_without_sub_filter.log

  Modified: doc/source/example/reference/functions/sub_filter/usage_with_sub_filter.log (+2 -6)
===================================================================
--- doc/source/example/reference/functions/sub_filter/usage_with_sub_filter.log    2013-03-28 17:50:05 +0900 (c287faa)
+++ doc/source/example/reference/functions/sub_filter/usage_with_sub_filter.log    2013-03-28 17:50:38 +0900 (4980c33)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select Blog --output_columns _key \
+  select Blog --output_columns _key --filter 'sub_filter(comments, "name @ \\"A\\" && content @ \\"groonga\\"")'
   # [
   #   [
   #     0, 
@@ -10,7 +10,7 @@ Execution example::
   #   [
   #     [
   #       [
-  #         2
+  #         1
   #       ], 
   #       [
   #         [
@@ -20,11 +20,7 @@ Execution example::
   #       ], 
   #       [
   #         "groonga's blog"
-  #       ], 
-  #       [
-  #         "mroonga's blog"
   #       ]
   #     ]
   #   ]
   # ]
-    --filter 'sub_filter(comments, "name @ \\"A\\" && content @ \\"groonga\\"")'

  Modified: doc/source/example/reference/functions/sub_filter/usage_without_sub_filter.log (+27 -2)
===================================================================
--- doc/source/example/reference/functions/sub_filter/usage_without_sub_filter.log    2013-03-28 17:50:05 +0900 (40edcff)
+++ doc/source/example/reference/functions/sub_filter/usage_without_sub_filter.log    2013-03-28 17:50:38 +0900 (05b2fcd)
@@ -1,4 +1,29 @@
 Execution example::
 
-  select Blog --output_columns _key \
-    --filter "comments.name @ \"A\" && comments.content @ \"groonga\""
+  select Blog --output_columns _key --filter "comments.name @ \"A\" && comments.content @ \"groonga\""
+  # [
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
+  #   [
+  #     [
+  #       [
+  #         2
+  #       ], 
+  #       [
+  #         [
+  #           "_key", 
+  #           "ShortText"
+  #         ]
+  #       ], 
+  #       [
+  #         "groonga's blog"
+  #       ], 
+  #       [
+  #         "mroonga's blog"
+  #       ]
+  #     ]
+  #   ]
+  # ]
-------------- next part --------------
HTML����������������������������...
Download 



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