[Groonga-commit] groonga/groonga at 1adaa3d [master] doc: simplify

Back to archive index

Kentaro Hayashi null+****@clear*****
Wed May 10 17:03:22 JST 2017


Kentaro Hayashi	2017-05-10 17:03:22 +0900 (Wed, 10 May 2017)

  New Revision: 1adaa3db94c6c30fc7079e4063f8197dd39f70fa
  https://github.com/groonga/groonga/commit/1adaa3db94c6c30fc7079e4063f8197dd39f70fa

  Message:
    doc: simplify

  Modified files:
    doc/source/example/tutorial/match_columns-specific-body-index.log
    doc/source/example/tutorial/match_columns-specific-title-index.log
    doc/source/example/tutorial/match_columns-specific-whole-with-body.log
    doc/source/example/tutorial/match_columns-specific-whole-with-title.log
    doc/source/tutorial/match_columns.rst

  Modified: doc/source/example/tutorial/match_columns-specific-body-index.log (+2 -17)
===================================================================
--- doc/source/example/tutorial/match_columns-specific-body-index.log    2017-05-10 17:00:30 +0900 (faf29a6)
+++ doc/source/example/tutorial/match_columns-specific-body-index.log    2017-05-10 17:03:22 +0900 (59560c2)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table Entries --match_columns Terms.entries_body --query "Groonga"
+  select --table Entries --output_columns body --match_columns Terms.entries_body --query "Groonga"
   # [
   #   [
   #     0, 
@@ -14,27 +14,12 @@ Execution example::
   #       ], 
   #       [
   #         [
-  #           "_id", 
-  #           "UInt32"
-  #         ], 
-  #         [
-  #           "_key", 
-  #           "ShortText"
-  #         ], 
-  #         [
   #           "body", 
   #           "ShortText"
-  #         ], 
-  #         [
-  #           "title", 
-  #           "ShortText"
   #         ]
   #       ], 
   #       [
-  #         2, 
-  #         "http://example.com/entry2", 
-  #         "I love Groonga!", 
-  #         "Hello world."
+  #         "I love Groonga!"
   #       ]
   #     ]
   #   ]

  Modified: doc/source/example/tutorial/match_columns-specific-title-index.log (+1 -22)
===================================================================
--- doc/source/example/tutorial/match_columns-specific-title-index.log    2017-05-10 17:00:30 +0900 (e017f24)
+++ doc/source/example/tutorial/match_columns-specific-title-index.log    2017-05-10 17:03:22 +0900 (83ea0b9)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table Entries --match_columns Terms.entries_title --query "Groonga"
+  select --table Entries --output_columns title --match_columns Terms.entries_title --query "Groonga"
   # [
   #   [
   #     0, 
@@ -14,38 +14,17 @@ Execution example::
   #       ], 
   #       [
   #         [
-  #           "_id", 
-  #           "UInt32"
-  #         ], 
-  #         [
-  #           "_key", 
-  #           "ShortText"
-  #         ], 
-  #         [
-  #           "body", 
-  #           "ShortText"
-  #         ], 
-  #         [
   #           "title", 
   #           "ShortText"
   #         ]
   #       ], 
   #       [
-  #         1, 
-  #         "http://example.com/entry1", 
-  #         "This is my first entry.", 
   #         "Hello Groonga."
   #       ], 
   #       [
-  #         3, 
-  #         "http://example.com/entry3", 
-  #         "I use Mroonga.", 
   #         "Hello Mroonga, bye Groonga."
   #       ], 
   #       [
-  #         4, 
-  #         "http://example.com/entry4", 
-  #         "I'm back.", 
   #         "Say, Hello Groonga!"
   #       ]
   #     ]

  Modified: doc/source/example/tutorial/match_columns-specific-whole-with-body.log (+2 -17)
===================================================================
--- doc/source/example/tutorial/match_columns-specific-whole-with-body.log    2017-05-10 17:00:30 +0900 (27bc696)
+++ doc/source/example/tutorial/match_columns-specific-whole-with-body.log    2017-05-10 17:03:22 +0900 (52416a5)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table Entries --match_columns Terms.entries_whole.body --query "Groonga"
+  select --table Entries --output_columns body --match_columns Terms.entries_whole.body --query "Groonga"
   # [
   #   [
   #     0, 
@@ -14,27 +14,12 @@ Execution example::
   #       ], 
   #       [
   #         [
-  #           "_id", 
-  #           "UInt32"
-  #         ], 
-  #         [
-  #           "_key", 
-  #           "ShortText"
-  #         ], 
-  #         [
   #           "body", 
   #           "ShortText"
-  #         ], 
-  #         [
-  #           "title", 
-  #           "ShortText"
   #         ]
   #       ], 
   #       [
-  #         2, 
-  #         "http://example.com/entry2", 
-  #         "I love Groonga!", 
-  #         "Hello world."
+  #         "I love Groonga!"
   #       ]
   #     ]
   #   ]

  Modified: doc/source/example/tutorial/match_columns-specific-whole-with-title.log (+1 -22)
===================================================================
--- doc/source/example/tutorial/match_columns-specific-whole-with-title.log    2017-05-10 17:00:30 +0900 (6cc119a)
+++ doc/source/example/tutorial/match_columns-specific-whole-with-title.log    2017-05-10 17:03:22 +0900 (896e529)
@@ -1,6 +1,6 @@
 Execution example::
 
-  select --table Entries --match_columns Terms.entries_whole.title --query "Groonga"
+  select --table Entries --output_columns title --match_columns Terms.entries_whole.title --query "Groonga"
   # [
   #   [
   #     0, 
@@ -14,38 +14,17 @@ Execution example::
   #       ], 
   #       [
   #         [
-  #           "_id", 
-  #           "UInt32"
-  #         ], 
-  #         [
-  #           "_key", 
-  #           "ShortText"
-  #         ], 
-  #         [
-  #           "body", 
-  #           "ShortText"
-  #         ], 
-  #         [
   #           "title", 
   #           "ShortText"
   #         ]
   #       ], 
   #       [
-  #         1, 
-  #         "http://example.com/entry1", 
-  #         "This is my first entry.", 
   #         "Hello Groonga."
   #       ], 
   #       [
-  #         3, 
-  #         "http://example.com/entry3", 
-  #         "I use Mroonga.", 
   #         "Hello Mroonga, bye Groonga."
   #       ], 
   #       [
-  #         4, 
-  #         "http://example.com/entry4", 
-  #         "I'm back.", 
   #         "Say, Hello Groonga!"
   #       ]
   #     ]

  Modified: doc/source/tutorial/match_columns.rst (+4 -4)
===================================================================
--- doc/source/tutorial/match_columns.rst    2017-05-10 17:00:30 +0900 (e22a189)
+++ doc/source/tutorial/match_columns.rst    2017-05-10 17:03:22 +0900 (f1ff2ce)
@@ -133,13 +133,13 @@ For example, if you want to search title or body only, specify ``Terms.entries_t
 
 .. groonga-command
 .. include:: ../example/tutorial/match_columns-specific-title-index.log
-.. select --table Entries --match_columns Terms.entries_title --query "Groonga"
+.. select --table Entries --output_columns title --match_columns Terms.entries_title --query "Groonga"
 
 This example uses ``Terms.entries_title`` as index, then search "Groonga" against title data column.
 
 .. groonga-command
 .. include:: ../example/tutorial/match_columns-specific-body-index.log
-.. select --table Entries --match_columns Terms.entries_body --query "Groonga"
+.. select --table Entries --output_columns body --match_columns Terms.entries_body --query "Groonga"
 
 This example uses ``Terms.entries_body`` as index, then search "Groonga" against body data column.
 
@@ -149,13 +149,13 @@ For example, if you want to search title or body only with ``entries_whole`` ind
 
 .. groonga-command
 .. include:: ../example/tutorial/match_columns-specific-whole-with-title.log
-.. select --table Entries --match_columns Terms.entries_whole.title --query "Groonga"
+.. select --table Entries --output_columns title --match_columns Terms.entries_whole.title --query "Groonga"
 
 This example uses ``Terms.entries_whole`` as index, then search "Groonga" against title data column.
 
 .. groonga-command
 .. include:: ../example/tutorial/match_columns-specific-whole-with-body.log
-.. select --table Entries --match_columns Terms.entries_whole.body --query "Groonga"
+.. select --table Entries --output_columns body --match_columns Terms.entries_whole.body --query "Groonga"
 
 This example uses ``Terms.entries_whole`` as index, then search "Groonga" against body data column.
 
-------------- next part --------------
HTML����������������������������...
다운로드 



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