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

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 31日 (火) 15:00:41 JST


HAYASHI Kentaro	2012-07-31 15:00:41 +0900 (Tue, 31 Jul 2012)

  New Revision: 4ad2b11b1e436e65cf8ae00574d9a4913adae030
  https://github.com/groonga/groonga/commit/4ad2b11b1e436e65cf8ae00574d9a4913adae030

  Log:
    doc: update examples

  Modified files:
    doc/source/example/reference/commands/status.log
    doc/source/example/reference/commands/table_list.log
    doc/source/example/reference/executables/groonga-httpd.log
    doc/source/example/reference/functions/geo_distance_distance_rectangle.log
    doc/source/example/reference/functions/geo_distance_location_ellipsoid.log
    doc/source/example/reference/functions/geo_distance_location_rectangle.log
    doc/source/example/reference/functions/geo_distance_location_sphere.log
    doc/source/example/reference/functions/geo_distance_setup_distance.log
    doc/source/example/reference/functions/geo_distance_setup_location.log
    doc/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log
    doc/source/example/tutorial/drilldown-1.log
    doc/source/example/tutorial/introduction-10.log
    doc/source/example/tutorial/introduction-11.log
    doc/source/example/tutorial/introduction-12.log
    doc/source/example/tutorial/introduction-13.log
    doc/source/example/tutorial/introduction-15.log
    doc/source/example/tutorial/introduction-16.log
    doc/source/example/tutorial/introduction-2.log
    doc/source/example/tutorial/introduction-3.log
    doc/source/example/tutorial/introduction-4.log
    doc/source/example/tutorial/introduction-5.log
    doc/source/example/tutorial/introduction-7.log
    doc/source/example/tutorial/introduction-8.log
    doc/source/example/tutorial/introduction-9.log
    doc/source/example/tutorial/network-1.log
    doc/source/example/tutorial/network-3.log
    doc/source/example/tutorial/patricia_trie-2.log
    doc/source/example/tutorial/search-4.log

  Modified: doc/source/example/reference/commands/status.log (+5 -5)
===================================================================
--- doc/source/example/reference/commands/status.log    2012-07-31 14:57:33 +0900 (3579ae1)
+++ doc/source/example/reference/commands/status.log    2012-07-31 15:00:41 +0900 (97efdf1)
@@ -8,14 +8,14 @@ Execution example::
   #     0.000355720520019531
   #   ], 
   #   {
-  #     "uptime": 2, 
+  #     "uptime": 23, 
   #     "max_command_version": 2, 
-  #     "n_queries": 0, 
+  #     "n_queries": 30, 
   #     "cache_hit_rate": 0.0, 
-  #     "version": "2.0.3-278-g6071d65", 
-  #     "alloc_count": 267, 
+  #     "version": "2.0.5", 
+  #     "alloc_count": 278, 
   #     "command_version": 1, 
-  #     "starttime": 1340765358, 
+  #     "starttime": 1343713421, 
   #     "default_command_version": 1
   #   }
   # ]

  Modified: doc/source/example/reference/commands/table_list.log (+41 -9)
===================================================================
--- doc/source/example/reference/commands/table_list.log    2012-07-31 14:57:33 +0900 (daf6a87)
+++ doc/source/example/reference/commands/table_list.log    2012-07-31 15:00:41 +0900 (229e606)
@@ -35,28 +35,60 @@ Execution example::
   #       ]
   #     ], 
   #     [
-  #       256, 
-  #       "Entries", 
-  #       "/tmp/groonga-databases/commands_select.0000100", 
+  #       259, 
+  #       "bigram", 
+  #       "/tmp/groonga-databases/suggest.0000103", 
+  #       "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT", 
+  #       "ShortText", 
+  #       "null"
+  #     ], 
+  #     [
+  #       278, 
+  #       "event_query", 
+  #       "/tmp/groonga-databases/suggest.0000116", 
+  #       "TABLE_NO_KEY|PERSISTENT", 
+  #       "null", 
+  #       "null"
+  #     ], 
+  #     [
+  #       258, 
+  #       "event_type", 
+  #       "/tmp/groonga-databases/suggest.0000102", 
   #       "TABLE_HASH_KEY|PERSISTENT", 
   #       "ShortText", 
   #       "null"
   #     ], 
   #     [
-  #       259, 
-  #       "Terms", 
-  #       "/tmp/groonga-databases/commands_select.0000103", 
+  #       261, 
+  #       "item_query", 
+  #       "/tmp/groonga-databases/suggest.0000105", 
   #       "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT", 
   #       "ShortText", 
   #       "null"
   #     ], 
   #     [
-  #       262, 
-  #       "Thesaurus", 
-  #       "/tmp/groonga-databases/commands_select.0000106", 
+  #       260, 
+  #       "kana", 
+  #       "/tmp/groonga-databases/suggest.0000104", 
   #       "TABLE_PAT_KEY|KEY_NORMALIZE|PERSISTENT", 
   #       "ShortText", 
   #       "null"
+  #     ], 
+  #     [
+  #       270, 
+  #       "pair_query", 
+  #       "/tmp/groonga-databases/suggest.000010E", 
+  #       "TABLE_HASH_KEY|PERSISTENT", 
+  #       "UInt64", 
+  #       "null"
+  #     ], 
+  #     [
+  #       277, 
+  #       "sequence_query", 
+  #       "/tmp/groonga-databases/suggest.0000115", 
+  #       "TABLE_HASH_KEY|PERSISTENT", 
+  #       "ShortText", 
+  #       "null"
   #     ]
   #   ]
   # ]

  Modified: doc/source/example/reference/executables/groonga-httpd.log (+4 -4)
===================================================================
--- doc/source/example/reference/executables/groonga-httpd.log    2012-07-31 14:57:33 +0900 (2522297)
+++ doc/source/example/reference/executables/groonga-httpd.log    2012-07-31 15:00:41 +0900 (c4e9bea)
@@ -8,14 +8,14 @@ Execution example::
       0.000355720520019531
     ], 
     {
-      "uptime": 0, 
+      "uptime": 1, 
       "max_command_version": 2, 
       "n_queries": 0, 
       "cache_hit_rate": 0.0, 
-      "version": "2.0.3-278-g6071d65", 
-      "alloc_count": 145, 
+      "version": "2.0.5", 
+      "alloc_count": 142, 
       "command_version": 1, 
-      "starttime": 1340769698, 
+      "starttime": 1343713471, 
       "default_command_version": 1
     }
   ]

  Modified: doc/source/example/reference/functions/geo_distance_distance_rectangle.log (+16 -6)
===================================================================
--- doc/source/example/reference/functions/geo_distance_distance_rectangle.log    2012-07-31 14:57:33 +0900 (943b899)
+++ doc/source/example/reference/functions/geo_distance_distance_rectangle.log    2012-07-31 15:00:41 +0900 (2dda047)
@@ -2,15 +2,25 @@ Execution example::
 
   select Geo --output_columns distance --scorer 'distance = geo_distance("128452975x503157902", "155047000x508862800", "rectangle")'
   # [
-  #   [0,0.0,0.0],
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
   #   [
   #     [
-  #       [1],
   #       [
-  #         ["distance","Int32"]
-  #       ],
-  #       [830849]
+  #         1
+  #       ], 
+  #       [
+  #         [
+  #           "distance", 
+  #           "Int32"
+  #         ]
+  #       ], 
+  #       [
+  #         830849
+  #       ]
   #     ]
   #   ]
   # ]
-  

  Modified: doc/source/example/reference/functions/geo_distance_location_ellipsoid.log (+16 -5)
===================================================================
--- doc/source/example/reference/functions/geo_distance_location_ellipsoid.log    2012-07-31 14:57:33 +0900 (78a910a)
+++ doc/source/example/reference/functions/geo_distance_location_ellipsoid.log    2012-07-31 15:00:41 +0900 (9b3602f)
@@ -2,14 +2,25 @@ Execution example::
 
   select Stations --output_columns _score --filter 1 --scorer '_score = geo_distance(location, "155047000x508862800", "ellipsoid")'
   # [
-  #   [0,0.0,0.0],
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
   #   [
   #     [
-  #       [1],
   #       [
-  #         ["_score","Int32"]
-  #       ],
-  #       [831438]
+  #         1
+  #       ], 
+  #       [
+  #         [
+  #           "_score", 
+  #           "Int32"
+  #         ]
+  #       ], 
+  #       [
+  #         15400284
+  #       ]
   #     ]
   #   ]
   # ]

  Modified: doc/source/example/reference/functions/geo_distance_location_rectangle.log (+16 -5)
===================================================================
--- doc/source/example/reference/functions/geo_distance_location_rectangle.log    2012-07-31 14:57:33 +0900 (82d38f5)
+++ doc/source/example/reference/functions/geo_distance_location_rectangle.log    2012-07-31 15:00:41 +0900 (a4b52c1)
@@ -2,14 +2,25 @@ Execution example::
 
   select Stations --output_columns _score --filter 1 --scorer '_score = geo_distance(location, "155047000x508862800", "rectangle")'
   # [
-  #   [0,0.0,0.0],
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
   #   [
   #     [
-  #       [1],
   #       [
-  #         ["_score","Int32"]
-  #       ],
-  #       [830849]
+  #         1
+  #       ], 
+  #       [
+  #         [
+  #           "_score", 
+  #           "Int32"
+  #         ]
+  #       ], 
+  #       [
+  #         15351658
+  #       ]
   #     ]
   #   ]
   # ]

  Modified: doc/source/example/reference/functions/geo_distance_location_sphere.log (+16 -5)
===================================================================
--- doc/source/example/reference/functions/geo_distance_location_sphere.log    2012-07-31 14:57:33 +0900 (e66ade1)
+++ doc/source/example/reference/functions/geo_distance_location_sphere.log    2012-07-31 15:00:41 +0900 (444b3d8)
@@ -2,14 +2,25 @@ Execution example::
 
   select Stations --output_columns _score --filter 1 --scorer '_score = geo_distance(location, "155047000x508862800", "sphere")'
   # [
-  #   [0,0.0,0.0],
+  #   [
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
   #   [
   #     [
-  #       [1],
   #       [
-  #         ["_score","Int32"]
-  #       ],
-  #       [830802]
+  #         1
+  #       ], 
+  #       [
+  #         [
+  #           "_score", 
+  #           "Int32"
+  #         ]
+  #       ], 
+  #       [
+  #         13845929
+  #       ]
   #     ]
   #   ]
   # ]

  Modified: doc/source/example/reference/functions/geo_distance_setup_distance.log (+6 -5)
===================================================================
--- doc/source/example/reference/functions/geo_distance_setup_distance.log    2012-07-31 14:57:33 +0900 (b7fadc6)
+++ doc/source/example/reference/functions/geo_distance_setup_distance.log    2012-07-31 15:00:41 +0900 (b786298)
@@ -1,12 +1,13 @@
 Execution example::
 
   table_create Geo TABLE_HASH_KEY ShortText
-  # [[0,0.0,0.0],true]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create Geo distance COLUMN_SCALAR Int32
-  # [[0,0.0,0.0],true]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
   load --table Geo
   [
-  {"_key": "the record for geo_distance() result"}
+    {
+      "_key": "the record for geo_distance() result"
+    }
   ]
-  # [[0,0.0,0.0],1]
-  
+  # [[0, 1337566253.89858, 0.000355720520019531], 1]

  Modified: doc/source/example/reference/functions/geo_distance_setup_location.log (+9 -5)
===================================================================
--- doc/source/example/reference/functions/geo_distance_setup_location.log    2012-07-31 14:57:33 +0900 (37a5c51)
+++ doc/source/example/reference/functions/geo_distance_setup_location.log    2012-07-31 15:00:41 +0900 (57ae865)
@@ -1,12 +1,16 @@
 Execution example::
 
   table_create Stations TABLE_HASH_KEY ShortText
-  # [[0,0.0,0.0],true]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create Stations location COLUMN_SCALAR WGS84GeoPoint
-  # [[0,0.0,0.0],true]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
   load --table Stations
   [
-  ["_key", "location"],
-  ["Tokyo", "128452975x503157902"],
+    {
+       "_key", "location"
+    },
+    {
+       "Tokyo", "128452975x503157902"
+    },
   ]
-  # [[0,0.0,0.0],1]
+  # [[0, 1337566253.89858, 0.000355720520019531], 1]

  Modified: doc/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log (+23 -5)
===================================================================
--- doc/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log    2012-07-31 14:57:33 +0900 (9b8dd4c)
+++ doc/source/example/reference/grn_expr/script_syntax/simple_logical_not_operator.log    2012-07-31 15:00:41 +0900 (8663c7b)
@@ -10,7 +10,7 @@ Execution example::
   #   [
   #     [
   #       [
-  #         1
+  #         4
   #       ], 
   #       [
   #         [
@@ -31,10 +31,28 @@ Execution example::
   #         ]
   #       ], 
   #       [
-  #         1, 
-  #         "The first post!", 
-  #         "Welcome! This is my first post!", 
-  #         5
+  #         4, 
+  #         "Good-bye Senna", 
+  #         "I migrated all Senna system!", 
+  #         3
+  #       ], 
+  #       [
+  #         5, 
+  #         "Good-bye Tritonn", 
+  #         "I also migrated all Tritonn system!", 
+  #         3
+  #       ], 
+  #       [
+  #         2, 
+  #         "Groonga", 
+  #         "I started to use groonga. It's very fast!", 
+  #         10
+  #       ], 
+  #       [
+  #         3, 
+  #         "Mroonga", 
+  #         "I also started to use mroonga. It's also very fast! Really fast!", 
+  #         15
   #       ]
   #     ]
   #   ]

  Modified: doc/source/example/tutorial/drilldown-1.log (+4 -64)
===================================================================
--- doc/source/example/tutorial/drilldown-1.log    2012-07-31 14:57:33 +0900 (2a7a406)
+++ doc/source/example/tutorial/drilldown-1.log    2012-07-31 15:00:41 +0900 (7bc77eb)
@@ -1,73 +1,13 @@
 Execution example::
 
   table_create --name SiteDomain --flags TABLE_HASH_KEY --key_type ShortText
-  # [
-  #   [
-  #     -22, 
-  #     1337566253.89858, 
-  #     0.000355720520019531, 
-  #     "already used name was assigned: <SiteDomain>", 
-  #     [
-  #       [
-  #         "grn_obj_register", 
-  #         "db.c", 
-  #         6572
-  #       ]
-  #     ]
-  #   ], 
-  #   false
-  # ]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
   table_create --name SiteCountry --flags TABLE_HASH_KEY --key_type ShortText
-  # [
-  #   [
-  #     -22, 
-  #     1337566253.89858, 
-  #     0.000355720520019531, 
-  #     "already used name was assigned: <SiteCountry>", 
-  #     [
-  #       [
-  #         "grn_obj_register", 
-  #         "db.c", 
-  #         6572
-  #       ]
-  #     ]
-  #   ], 
-  #   false
-  # ]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create --table Site --name domain --flags COLUMN_SCALAR --type SiteDomain
-  # [
-  #   [
-  #     -22, 
-  #     1337566253.89858, 
-  #     0.000355720520019531, 
-  #     "already used name was assigned: <Site.domain>", 
-  #     [
-  #       [
-  #         "grn_obj_register", 
-  #         "db.c", 
-  #         6572
-  #       ]
-  #     ]
-  #   ], 
-  #   false
-  # ]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
   column_create --table Site --name country --flags COLUMN_SCALAR --type SiteCountry
-  # [
-  #   [
-  #     -22, 
-  #     1337566253.89858, 
-  #     0.000355720520019531, 
-  #     "already used name was assigned: <Site.country>", 
-  #     [
-  #       [
-  #         "grn_obj_register", 
-  #         "db.c", 
-  #         6572
-  #       ]
-  #     ]
-  #   ], 
-  #   false
-  # ]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
   load --table Site
   [
   {"_key":"http://example.org/","domain":".org","country":"japan"},

  Modified: doc/source/example/tutorial/introduction-10.log (+1 -8)
===================================================================
--- doc/source/example/tutorial/introduction-10.log    2012-07-31 14:57:33 +0900 (988660b)
+++ doc/source/example/tutorial/introduction-10.log    2012-07-31 15:00:41 +0900 (b0b0a95)
@@ -1,11 +1,4 @@
 Execution example::
 
   table_create --name Terms --flags TABLE_PAT_KEY|KEY_NORMALIZE --key_type ShortText --default_tokenizer TokenBigram
-  # [
-  #   [
-  #     0,
-  #	1342584881.91118,
-  #	0.0449278354644775
-  #   ],
-  #   true
-  # ]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]

  Modified: doc/source/example/tutorial/introduction-11.log (+1 -8)
===================================================================
--- doc/source/example/tutorial/introduction-11.log    2012-07-31 14:57:33 +0900 (d47a8e8)
+++ doc/source/example/tutorial/introduction-11.log    2012-07-31 15:00:41 +0900 (4b01223)
@@ -1,11 +1,4 @@
 Execution example::
 
   column_create --table Terms --name blog_title --flags COLUMN_INDEX|WITH_POSITION --type Site --source title
-  # [
-  #   [
-  #     0,
-  #	1342584989.76649,
-  #	0.120017290115356
-  #   ],
-  #   true
-  # ]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]

  Modified: doc/source/example/tutorial/introduction-12.log (+0 -29)
===================================================================
--- doc/source/example/tutorial/introduction-12.log    2012-07-31 14:57:33 +0900 (dd30fd8)
+++ doc/source/example/tutorial/introduction-12.log    2012-07-31 15:00:41 +0900 (42c0180)
@@ -22,26 +22,6 @@ Execution example::
   #           "ShortText"
   #         ], 
   #         [
-  #           "country", 
-  #           "SiteCountry"
-  #         ], 
-  #         [
-  #           "domain", 
-  #           "SiteDomain"
-  #         ], 
-  #         [
-  #           "link", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "links", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "location", 
-  #           "WGS84GeoPoint"
-  #         ], 
-  #         [
   #           "title", 
   #           "ShortText"
   #         ]
@@ -49,15 +29,6 @@ Execution example::
   #       [
   #         1, 
   #         "http://example.org/", 
-  #         "japan", 
-  #         ".org", 
-  #         "http://example.net/", 
-  #         [
-  #           "http://example.net/", 
-  #           "http://example.org/", 
-  #           "http://example.com/"
-  #         ], 
-  #         "128452975x503157902", 
   #         "This is test record 1!"
   #       ]
   #     ]

  Modified: doc/source/example/tutorial/introduction-13.log (+0 -29)
===================================================================
--- doc/source/example/tutorial/introduction-13.log    2012-07-31 14:57:33 +0900 (3bb46fe)
+++ doc/source/example/tutorial/introduction-13.log    2012-07-31 15:00:41 +0900 (8b306c0)
@@ -22,26 +22,6 @@ Execution example::
   #           "ShortText"
   #         ], 
   #         [
-  #           "country", 
-  #           "SiteCountry"
-  #         ], 
-  #         [
-  #           "domain", 
-  #           "SiteDomain"
-  #         ], 
-  #         [
-  #           "link", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "links", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "location", 
-  #           "WGS84GeoPoint"
-  #         ], 
-  #         [
   #           "title", 
   #           "ShortText"
   #         ]
@@ -49,15 +29,6 @@ Execution example::
   #       [
   #         1, 
   #         "http://example.org/", 
-  #         "japan", 
-  #         ".org", 
-  #         "http://example.net/", 
-  #         [
-  #           "http://example.net/", 
-  #           "http://example.org/", 
-  #           "http://example.com/"
-  #         ], 
-  #         "128452975x503157902", 
   #         "This is test record 1!"
   #       ]
   #     ]

  Modified: doc/source/example/tutorial/introduction-15.log (+0 -104)
===================================================================
--- doc/source/example/tutorial/introduction-15.log    2012-07-31 14:57:33 +0900 (ae4f841)
+++ doc/source/example/tutorial/introduction-15.log    2012-07-31 15:00:41 +0900 (0b6065a)
@@ -22,26 +22,6 @@ Execution example::
   #           "ShortText"
   #         ], 
   #         [
-  #           "country", 
-  #           "SiteCountry"
-  #         ], 
-  #         [
-  #           "domain", 
-  #           "SiteDomain"
-  #         ], 
-  #         [
-  #           "link", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "links", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "location", 
-  #           "WGS84GeoPoint"
-  #         ], 
-  #         [
   #           "title", 
   #           "ShortText"
   #         ]
@@ -49,35 +29,16 @@ Execution example::
   #       [
   #         1, 
   #         "http://example.org/", 
-  #         "japan", 
-  #         ".org", 
-  #         "http://example.net/", 
-  #         [
-  #           "http://example.net/", 
-  #           "http://example.org/", 
-  #           "http://example.com/"
-  #         ], 
-  #         "128452975x503157902", 
   #         "This is test record 1!"
   #       ], 
   #       [
   #         2, 
   #         "http://example.net/", 
-  #         "brazil", 
-  #         ".net", 
-  #         "", 
-  #         [], 
-  #         "128487316x502920929", 
   #         "test record 2."
   #       ], 
   #       [
   #         3, 
   #         "http://example.com/", 
-  #         "japan", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test record three."
   #       ]
   #     ]
@@ -105,26 +66,6 @@ Execution example::
   #           "ShortText"
   #         ], 
   #         [
-  #           "country", 
-  #           "SiteCountry"
-  #         ], 
-  #         [
-  #           "domain", 
-  #           "SiteDomain"
-  #         ], 
-  #         [
-  #           "link", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "links", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "location", 
-  #           "WGS84GeoPoint"
-  #         ], 
-  #         [
   #           "title", 
   #           "ShortText"
   #         ]
@@ -132,31 +73,16 @@ Execution example::
   #       [
   #         4, 
   #         "http://example.net/afr", 
-  #         "usa", 
-  #         ".net", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test record four."
   #       ], 
   #       [
   #         5, 
   #         "http://example.org/aba", 
-  #         "korea", 
-  #         ".org", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test test record five."
   #       ], 
   #       [
   #         6, 
   #         "http://example.com/rab", 
-  #         "china", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test test test record six."
   #       ]
   #     ]
@@ -184,26 +110,6 @@ Execution example::
   #           "ShortText"
   #         ], 
   #         [
-  #           "country", 
-  #           "SiteCountry"
-  #         ], 
-  #         [
-  #           "domain", 
-  #           "SiteDomain"
-  #         ], 
-  #         [
-  #           "link", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "links", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "location", 
-  #           "WGS84GeoPoint"
-  #         ], 
-  #         [
   #           "title", 
   #           "ShortText"
   #         ]
@@ -211,21 +117,11 @@ Execution example::
   #       [
   #         8, 
   #         "http://example.org/gat", 
-  #         "usa", 
-  #         ".org", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test record eight."
   #       ], 
   #       [
   #         9, 
   #         "http://example.com/vdw", 
-  #         "japan", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test record nine."
   #       ]
   #     ]

  Modified: doc/source/example/tutorial/introduction-16.log (+0 -69)
===================================================================
--- doc/source/example/tutorial/introduction-16.log    2012-07-31 14:57:33 +0900 (dfa276e)
+++ doc/source/example/tutorial/introduction-16.log    2012-07-31 15:00:41 +0900 (dcb5d4f)
@@ -22,26 +22,6 @@ Execution example::
   #           "ShortText"
   #         ], 
   #         [
-  #           "country", 
-  #           "SiteCountry"
-  #         ], 
-  #         [
-  #           "domain", 
-  #           "SiteDomain"
-  #         ], 
-  #         [
-  #           "link", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "links", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "location", 
-  #           "WGS84GeoPoint"
-  #         ], 
-  #         [
   #           "title", 
   #           "ShortText"
   #         ]
@@ -49,95 +29,46 @@ Execution example::
   #       [
   #         9, 
   #         "http://example.com/vdw", 
-  #         "japan", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test record nine."
   #       ], 
   #       [
   #         8, 
   #         "http://example.org/gat", 
-  #         "usa", 
-  #         ".org", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test record eight."
   #       ], 
   #       [
   #         7, 
   #         "http://example.net/atv", 
-  #         "china", 
-  #         ".net", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test test record seven."
   #       ], 
   #       [
   #         6, 
   #         "http://example.com/rab", 
-  #         "china", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test test test record six."
   #       ], 
   #       [
   #         5, 
   #         "http://example.org/aba", 
-  #         "korea", 
-  #         ".org", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test test record five."
   #       ], 
   #       [
   #         4, 
   #         "http://example.net/afr", 
-  #         "usa", 
-  #         ".net", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test record four."
   #       ], 
   #       [
   #         3, 
   #         "http://example.com/", 
-  #         "japan", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test record three."
   #       ], 
   #       [
   #         2, 
   #         "http://example.net/", 
-  #         "brazil", 
-  #         ".net", 
-  #         "", 
-  #         [], 
-  #         "128487316x502920929", 
   #         "test record 2."
   #       ], 
   #       [
   #         1, 
   #         "http://example.org/", 
-  #         "japan", 
-  #         ".org", 
-  #         "http://example.net/", 
-  #         [
-  #           "http://example.net/", 
-  #           "http://example.org/", 
-  #           "http://example.com/"
-  #         ], 
-  #         "128452975x503157902", 
   #         "This is test record 1!"
   #       ]
   #     ]

  Modified: doc/source/example/tutorial/introduction-2.log (+3 -3)
===================================================================
--- doc/source/example/tutorial/introduction-2.log    2012-07-31 14:57:33 +0900 (229baff)
+++ doc/source/example/tutorial/introduction-2.log    2012-07-31 15:00:41 +0900 (0ea77e3)
@@ -13,10 +13,10 @@ Execution example::
   #     "max_command_version": 2, 
   #     "n_queries": 0, 
   #     "cache_hit_rate": 0.0, 
-  #     "version": "2.0.2-28-g74fc93a", 
-  #     "alloc_count": 130, 
+  #     "version": "2.0.5", 
+  #     "alloc_count": 142, 
   #     "command_version": 1, 
-  #     "starttime": 1337566844, 
+  #     "starttime": 1343713486, 
   #     "default_command_version": 1
   #   }
   # ]

  Modified: doc/source/example/tutorial/introduction-3.log (+1 -8)
===================================================================
--- doc/source/example/tutorial/introduction-3.log    2012-07-31 14:57:33 +0900 (34a5195)
+++ doc/source/example/tutorial/introduction-3.log    2012-07-31 15:00:41 +0900 (a6ced11)
@@ -1,11 +1,4 @@
 Execution example::
 
   table_create --name Site --flags TABLE_HASH_KEY --key_type ShortText
-  # [
-  #   [
-  #     0,
-  # 	1342583420.16362,
-  # 	0.0770280361175537
-  #   ],
-  #   true
-  # ]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]

  Modified: doc/source/example/tutorial/introduction-4.log (+1 -119)
===================================================================
--- doc/source/example/tutorial/introduction-4.log    2012-07-31 14:57:33 +0900 (1371ede)
+++ doc/source/example/tutorial/introduction-4.log    2012-07-31 15:00:41 +0900 (f80bc26)
@@ -10,7 +10,7 @@ Execution example::
   #   [
   #     [
   #       [
-  #         9
+  #         0
   #       ], 
   #       [
   #         [
@@ -20,125 +20,7 @@ Execution example::
   #         [
   #           "_key", 
   #           "ShortText"
-  #         ], 
-  #         [
-  #           "country", 
-  #           "SiteCountry"
-  #         ], 
-  #         [
-  #           "domain", 
-  #           "SiteDomain"
-  #         ], 
-  #         [
-  #           "link", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "links", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "location", 
-  #           "WGS84GeoPoint"
-  #         ], 
-  #         [
-  #           "title", 
-  #           "ShortText"
   #         ]
-  #       ], 
-  #       [
-  #         1, 
-  #         "http://example.org/", 
-  #         "japan", 
-  #         ".org", 
-  #         "http://example.net/", 
-  #         [
-  #           "http://example.net/", 
-  #           "http://example.org/", 
-  #           "http://example.com/"
-  #         ], 
-  #         "128452975x503157902", 
-  #         "This is test record 1!"
-  #       ], 
-  #       [
-  #         2, 
-  #         "http://example.net/", 
-  #         "brazil", 
-  #         ".net", 
-  #         "", 
-  #         [], 
-  #         "128487316x502920929", 
-  #         "test record 2."
-  #       ], 
-  #       [
-  #         3, 
-  #         "http://example.com/", 
-  #         "japan", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
-  #         "test test record three."
-  #       ], 
-  #       [
-  #         4, 
-  #         "http://example.net/afr", 
-  #         "usa", 
-  #         ".net", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
-  #         "test record four."
-  #       ], 
-  #       [
-  #         5, 
-  #         "http://example.org/aba", 
-  #         "korea", 
-  #         ".org", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
-  #         "test test test record five."
-  #       ], 
-  #       [
-  #         6, 
-  #         "http://example.com/rab", 
-  #         "china", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
-  #         "test test test test record six."
-  #       ], 
-  #       [
-  #         7, 
-  #         "http://example.net/atv", 
-  #         "china", 
-  #         ".net", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
-  #         "test test test record seven."
-  #       ], 
-  #       [
-  #         8, 
-  #         "http://example.org/gat", 
-  #         "usa", 
-  #         ".org", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
-  #         "test test record eight."
-  #       ], 
-  #       [
-  #         9, 
-  #         "http://example.com/vdw", 
-  #         "japan", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
-  #         "test test record nine."
   #       ]
   #     ]
   #   ]

  Modified: doc/source/example/tutorial/introduction-5.log (+23 -30)
===================================================================
--- doc/source/example/tutorial/introduction-5.log    2012-07-31 14:57:33 +0900 (87f1c86)
+++ doc/source/example/tutorial/introduction-5.log    2012-07-31 15:00:41 +0900 (a509afd)
@@ -1,40 +1,33 @@
 Execution example::
 
   column_create --table Site --name title --type ShortText
-  # [
-  #   [
-  #	0,
-  # 	1342584190.15707,
-  # 	0.0806183815002441
-  #   ],
-  #   true
-  # ]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
   select --table Site
   # [
   #   [
-  #	0,
-  #	1342584642.15339,
-  #	0.0175399780273438
-  #   ],
+  #     0, 
+  #     1337566253.89858, 
+  #     0.000355720520019531
+  #   ], 
   #   [
-  #	[
-  #	  [
-  #	    0
-  #	  ],
-  #	  [
-  #	    [
-  #  	      "_id",
-  #	      "UInt32"
-  #	    ],
-  #	    [
-  #	      "_key",
-  #	      "ShortText"
-  #	    ],
-  #	    [
-  #	      "title",
-  #	      "ShortText"
-  #	    ]
-  #	  ]
+  #     [
+  #       [
+  #         0
+  #       ], 
+  #       [
+  #         [
+  #           "_id", 
+  #           "UInt32"
+  #         ], 
+  #         [
+  #           "_key", 
+  #           "ShortText"
+  #         ], 
+  #         [
+  #           "title", 
+  #           "ShortText"
+  #         ]
+  #       ]
   #     ]
   #   ]
   # ]

  Modified: doc/source/example/tutorial/introduction-7.log (+0 -69)
===================================================================
--- doc/source/example/tutorial/introduction-7.log    2012-07-31 14:57:33 +0900 (1371ede)
+++ doc/source/example/tutorial/introduction-7.log    2012-07-31 15:00:41 +0900 (caca26b)
@@ -22,26 +22,6 @@ Execution example::
   #           "ShortText"
   #         ], 
   #         [
-  #           "country", 
-  #           "SiteCountry"
-  #         ], 
-  #         [
-  #           "domain", 
-  #           "SiteDomain"
-  #         ], 
-  #         [
-  #           "link", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "links", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "location", 
-  #           "WGS84GeoPoint"
-  #         ], 
-  #         [
   #           "title", 
   #           "ShortText"
   #         ]
@@ -49,95 +29,46 @@ Execution example::
   #       [
   #         1, 
   #         "http://example.org/", 
-  #         "japan", 
-  #         ".org", 
-  #         "http://example.net/", 
-  #         [
-  #           "http://example.net/", 
-  #           "http://example.org/", 
-  #           "http://example.com/"
-  #         ], 
-  #         "128452975x503157902", 
   #         "This is test record 1!"
   #       ], 
   #       [
   #         2, 
   #         "http://example.net/", 
-  #         "brazil", 
-  #         ".net", 
-  #         "", 
-  #         [], 
-  #         "128487316x502920929", 
   #         "test record 2."
   #       ], 
   #       [
   #         3, 
   #         "http://example.com/", 
-  #         "japan", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test record three."
   #       ], 
   #       [
   #         4, 
   #         "http://example.net/afr", 
-  #         "usa", 
-  #         ".net", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test record four."
   #       ], 
   #       [
   #         5, 
   #         "http://example.org/aba", 
-  #         "korea", 
-  #         ".org", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test test record five."
   #       ], 
   #       [
   #         6, 
   #         "http://example.com/rab", 
-  #         "china", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test test test record six."
   #       ], 
   #       [
   #         7, 
   #         "http://example.net/atv", 
-  #         "china", 
-  #         ".net", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test test record seven."
   #       ], 
   #       [
   #         8, 
   #         "http://example.org/gat", 
-  #         "usa", 
-  #         ".org", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test record eight."
   #       ], 
   #       [
   #         9, 
   #         "http://example.com/vdw", 
-  #         "japan", 
-  #         ".com", 
-  #         "", 
-  #         [], 
-  #         "0x0", 
   #         "test test record nine."
   #       ]
   #     ]

  Modified: doc/source/example/tutorial/introduction-8.log (+0 -29)
===================================================================
--- doc/source/example/tutorial/introduction-8.log    2012-07-31 14:57:33 +0900 (6c791c7)
+++ doc/source/example/tutorial/introduction-8.log    2012-07-31 15:00:41 +0900 (a15b5ee)
@@ -22,26 +22,6 @@ Execution example::
   #           "ShortText"
   #         ], 
   #         [
-  #           "country", 
-  #           "SiteCountry"
-  #         ], 
-  #         [
-  #           "domain", 
-  #           "SiteDomain"
-  #         ], 
-  #         [
-  #           "link", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "links", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "location", 
-  #           "WGS84GeoPoint"
-  #         ], 
-  #         [
   #           "title", 
   #           "ShortText"
   #         ]
@@ -49,15 +29,6 @@ Execution example::
   #       [
   #         1, 
   #         "http://example.org/", 
-  #         "japan", 
-  #         ".org", 
-  #         "http://example.net/", 
-  #         [
-  #           "http://example.net/", 
-  #           "http://example.org/", 
-  #           "http://example.com/"
-  #         ], 
-  #         "128452975x503157902", 
   #         "This is test record 1!"
   #       ]
   #     ]

  Modified: doc/source/example/tutorial/introduction-9.log (+0 -29)
===================================================================
--- doc/source/example/tutorial/introduction-9.log    2012-07-31 14:57:33 +0900 (c27daa6)
+++ doc/source/example/tutorial/introduction-9.log    2012-07-31 15:00:41 +0900 (c91240c)
@@ -22,26 +22,6 @@ Execution example::
   #           "ShortText"
   #         ], 
   #         [
-  #           "country", 
-  #           "SiteCountry"
-  #         ], 
-  #         [
-  #           "domain", 
-  #           "SiteDomain"
-  #         ], 
-  #         [
-  #           "link", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "links", 
-  #           "Site"
-  #         ], 
-  #         [
-  #           "location", 
-  #           "WGS84GeoPoint"
-  #         ], 
-  #         [
   #           "title", 
   #           "ShortText"
   #         ]
@@ -49,15 +29,6 @@ Execution example::
   #       [
   #         1, 
   #         "http://example.org/", 
-  #         "japan", 
-  #         ".org", 
-  #         "http://example.net/", 
-  #         [
-  #           "http://example.net/", 
-  #           "http://example.org/", 
-  #           "http://example.com/"
-  #         ], 
-  #         "128452975x503157902", 
   #         "This is test record 1!"
   #       ]
   #     ]

  Modified: doc/source/example/tutorial/network-1.log (+3 -3)
===================================================================
--- doc/source/example/tutorial/network-1.log    2012-07-31 14:57:33 +0900 (dba3198)
+++ doc/source/example/tutorial/network-1.log    2012-07-31 15:00:41 +0900 (501c877)
@@ -13,10 +13,10 @@ Execution example::
   #     "max_command_version": 2, 
   #     "n_queries": 0, 
   #     "cache_hit_rate": 0.0, 
-  #     "version": "2.0.2-28-g74fc93a", 
-  #     "alloc_count": 130, 
+  #     "version": "2.0.5", 
+  #     "alloc_count": 121, 
   #     "command_version": 1, 
-  #     "starttime": 1337566849, 
+  #     "starttime": 1343713541, 
   #     "default_command_version": 1
   #   }
   # ]

  Modified: doc/source/example/tutorial/network-3.log (+3 -3)
===================================================================
--- doc/source/example/tutorial/network-3.log    2012-07-31 14:57:33 +0900 (a9a2cc9)
+++ doc/source/example/tutorial/network-3.log    2012-07-31 15:00:41 +0900 (48471be)
@@ -14,10 +14,10 @@ Execution example::
   #     "max_command_version": 2, 
   #     "n_queries": 0, 
   #     "cache_hit_rate": 0.0, 
-  #     "version": "2.0.2-28-g74fc93a", 
-  #     "alloc_count": 131, 
+  #     "version": "2.0.5", 
+  #     "alloc_count": 122, 
   #     "command_version": 1, 
-  #     "starttime": 1337566849, 
+  #     "starttime": 1343713541, 
   #     "default_command_version": 1
   #   }
   # ]

  Modified: doc/source/example/tutorial/patricia_trie-2.log (+14 -14)
===================================================================
--- doc/source/example/tutorial/patricia_trie-2.log    2012-07-31 14:57:33 +0900 (dca1b8c)
+++ doc/source/example/tutorial/patricia_trie-2.log    2012-07-31 15:00:41 +0900 (9c1831c)
@@ -39,16 +39,6 @@ Execution example::
   #         ]
   #       ], 
   #       [
-  #         1, 
-  #         "ひろゆき", 
-  #         true
-  #       ], 
-  #       [
-  #         5, 
-  #         "まろゆき", 
-  #         true
-  #       ], 
-  #       [
   #         3, 
   #         "ゆき", 
   #         false
@@ -57,6 +47,16 @@ Execution example::
   #         2, 
   #         "ろゆき", 
   #         false
+  #       ], 
+  #       [
+  #         5, 
+  #         "まろゆき", 
+  #         true
+  #       ], 
+  #       [
+  #         1, 
+  #         "ひろゆき", 
+  #         true
   #       ]
   #     ]
   #   ]
@@ -88,13 +88,13 @@ Execution example::
   #         ]
   #       ], 
   #       [
-  #         1, 
-  #         "ひろゆき", 
+  #         5, 
+  #         "まろゆき", 
   #         true
   #       ], 
   #       [
-  #         5, 
-  #         "まろゆき", 
+  #         1, 
+  #         "ひろゆき", 
   #         true
   #       ]
   #     ]

  Modified: doc/source/example/tutorial/search-4.log (+1 -16)
===================================================================
--- doc/source/example/tutorial/search-4.log    2012-07-31 14:57:33 +0900 (4ac8ea2)
+++ doc/source/example/tutorial/search-4.log    2012-07-31 15:00:41 +0900 (0389711)
@@ -1,22 +1,7 @@
 Execution example::
 
   column_create --table Site --name location --type WGS84GeoPoint
-  # [
-  #   [
-  #     -22, 
-  #     1337566253.89858, 
-  #     0.000355720520019531, 
-  #     "already used name was assigned: <Site.location>", 
-  #     [
-  #       [
-  #         "grn_obj_register", 
-  #         "db.c", 
-  #         6572
-  #       ]
-  #     ]
-  #   ], 
-  #   false
-  # ]
+  # [[0, 1337566253.89858, 0.000355720520019531], true]
   load --table Site
   [
    {"_key":"http://example.org/","location":"128452975x503157902"}
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Back to archive index