[Groonga-commit] droonga/droonga.org at fc869b5 [gh-pages] Update translations

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 19 18:53:10 JST 2014


YUKI Hiroshi	2014-11-19 18:53:10 +0900 (Wed, 19 Nov 2014)

  New Revision: fc869b52a379c76361885a6e4c14e003a2dfed08
  https://github.com/droonga/droonga.org/commit/fc869b52a379c76361885a6e4c14e003a2dfed08

  Message:
    Update translations

  Modified files:
    _po/ja/tutorial/1.0.8/add-replica/index.po
    _po/ja/tutorial/1.0.8/dump-restore/index.po
    _po/ja/tutorial/1.0.8/groonga/index.po
    ja/tutorial/1.0.8/add-replica/index.md
    ja/tutorial/1.0.8/dump-restore/index.md
    ja/tutorial/1.0.8/groonga/index.md

  Modified: _po/ja/tutorial/1.0.8/add-replica/index.po (+10 -15)
===================================================================
--- _po/ja/tutorial/1.0.8/add-replica/index.po    2014-11-19 18:48:40 +0900 (358e205)
+++ _po/ja/tutorial/1.0.8/add-replica/index.po    2014-11-19 18:53:10 +0900 (baf9168)
@@ -189,7 +189,7 @@ msgstr ""
 
 msgid ""
 "~~~\n"
-"$ curl \"http://node0:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node0:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node0:10031/droonga\": {\n"
@@ -200,7 +200,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"$ curl \"http://node1:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node1:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node0:10031/droonga\": {\n"
@@ -211,7 +211,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"$ curl \"http://node2:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node2:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node2:10031/droonga\": {\n"
@@ -322,7 +322,7 @@ msgstr "これで、ノードがクラスタに参加しました。この事は
 
 msgid ""
 "~~~\n"
-"$ curl \"http://node0:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node0:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node0:10031/droonga\": {\n"
@@ -339,11 +339,6 @@ msgid ""
 "~~~"
 msgstr ""
 
-msgid ""
-"Note that adding an extra unique parameter for each request, to bypass old res"
-"posne caches."
-msgstr "古いレスポンスキャッシュを無視するために、各リクエストに追加の一意なパラメータを加えていることに注意して下さい。"
-
 msgid "### Resume inpouring of \"write\" requests"
 msgstr "### 書き込みを伴うリクエストの流入を再開する"
 
@@ -437,7 +432,7 @@ msgstr "これで、ノード `node2` がクラスタから離脱しました。
 
 msgid ""
 "~~~\n"
-"$ curl \"http://node0:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node0:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node0:10031/droonga\": {\n"
@@ -448,7 +443,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"$ curl \"http://node1:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node1:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node0:10031/droonga\": {\n"
@@ -459,7 +454,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"$ curl \"http://node2:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node2:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node0:10031/droonga\": {\n"
@@ -517,7 +512,7 @@ msgstr "これで、ノードがクラスタから離脱しました。この事
 
 msgid ""
 "~~~\n"
-"$ curl \"http://node0:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node0:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node0:10031/droonga\": {\n"
@@ -564,7 +559,7 @@ msgstr "この事は、`system.status` コマンドの結果を見ると確認
 
 msgid ""
 "~~~\n"
-"$ curl \"http://node0:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node0:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node0:10031/droonga\": {\n"
@@ -575,7 +570,7 @@ msgid ""
 "    }\n"
 "  }\n"
 "}\n"
-"$ curl \"http://node2:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node2:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node0:10031/droonga\": {\n"

  Modified: _po/ja/tutorial/1.0.8/dump-restore/index.po (+7 -7)
===================================================================
--- _po/ja/tutorial/1.0.8/dump-restore/index.po    2014-11-19 18:48:40 +0900 (02dac2f)
+++ _po/ja/tutorial/1.0.8/dump-restore/index.po    2014-11-19 18:53:10 +0900 (e763fe1)
@@ -272,7 +272,7 @@ msgstr "これでクラスタは空になりました。確かめてみましょ
 
 msgid ""
 "~~~\n"
-"$ curl \"$endpoint/d/table_list?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"$endpoint/d/table_list\" | jq \".\"\n"
 "[\n"
 "  [\n"
 "    0,\n"
@@ -487,9 +487,9 @@ msgid ""
 "(on node1)\n"
 "# droonga-engine-catalog-modify --replica-hosts=node1\n"
 "$ endpoint=\"http://node1:10041\"\n"
-"$ curl \"$endpoint/d/table_remove?name=Location&_=$(date +%s)\"\n"
-"$ curl \"$endpoint/d/table_remove?name=Store&_=$(date +%s)\"\n"
-"$ curl \"$endpoint/d/table_remove?name=Term&_=$(date +%s)\"\n"
+"$ curl \"$endpoint/d/table_remove?name=Location\"\n"
+"$ curl \"$endpoint/d/table_remove?name=Store\"\n"
+"$ curl \"$endpoint/d/table_remove?name=Term\"\n"
 "~~~"
 msgstr ""
 
@@ -502,7 +502,7 @@ msgstr ""
 
 msgid ""
 "~~~\n"
-"$ curl \"http://node0:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node0:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node0:10031/droonga\": {\n"
@@ -562,7 +562,7 @@ msgid ""
 "    ]\n"
 "  ]\n"
 "]\n"
-"$ curl \"http://node1:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node1:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node1:10031/droonga\": {\n"
@@ -706,7 +706,7 @@ msgstr "これで、1つだけクラスタがある状態になりました。
 
 msgid ""
 "~~~\n"
-"$ curl \"http://node0:10041/droonga/system/status?_=$(date +%s)\" | jq \".\"\n"
+"$ curl \"http://node0:10041/droonga/system/status\" | jq \".\"\n"
 "{\n"
 "  \"nodes\": {\n"
 "    \"node0:10031/droonga\": {\n"

  Modified: _po/ja/tutorial/1.0.8/groonga/index.po (+317 -40)
===================================================================
--- _po/ja/tutorial/1.0.8/groonga/index.po    2014-11-19 18:48:40 +0900 (0e454ef)
+++ _po/ja/tutorial/1.0.8/groonga/index.po    2014-11-19 18:53:10 +0900 (e783d8a)
@@ -561,6 +561,134 @@ msgstr ""
 "すべてのリクエストは、クラスタ中の適切なノードに配送されます。"
 
 msgid ""
+"OK, now the table has been created successfully.\n"
+"Let's see it by the `table_list` command:"
+msgstr ""
+"さて、テーブルを正しく作成できました。\n"
+"`table_list` コマンドを使って、作成されたテーブルの情報を見てみましょう:"
+
+msgid ""
+"~~~\n"
+"$ curl \"$endpoint/d/table_list\" | jq \".\"\n"
+"[\n"
+"  [\n"
+"    0,\n"
+"    1401358908.9126804,\n"
+"    0.001600027084350586\n"
+"  ],\n"
+"  [\n"
+"    [\n"
+"      [\n"
+"        \"id\",\n"
+"        \"UInt32\"\n"
+"      ],\n"
+"      [\n"
+"        \"name\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"path\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"flags\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"domain\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"range\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"default_tokenizer\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"normalizer\",\n"
+"        \"ShortText\"\n"
+"      ]\n"
+"    ],\n"
+"    [\n"
+"      256,\n"
+"      \"Store\",\n"
+"      \"/home/vagrant/droonga/000/db.0000100\",\n"
+"      \"TABLE_PAT_KEY|PERSISTENT\",\n"
+"      \"ShortText\",\n"
+"      null,\n"
+"      null,\n"
+"      null\n"
+"    ]\n"
+"  ]\n"
+"]\n"
+"~~~"
+msgstr ""
+
+msgid "Because it is a cluster, another endpoint returns same result."
+msgstr "Droongaはクラスタで動作するので、他のエンドポイントも同じ結果を返します。"
+
+msgid ""
+"~~~\n"
+"$ curl \"http://node1:10041/d/table_list\" | jq \".\"\n"
+"[\n"
+"  [\n"
+"    0,\n"
+"    1401358908.9126804,\n"
+"    0.001600027084350586\n"
+"  ],\n"
+"  [\n"
+"    [\n"
+"      [\n"
+"        \"id\",\n"
+"        \"UInt32\"\n"
+"      ],\n"
+"      [\n"
+"        \"name\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"path\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"flags\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"domain\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"range\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"default_tokenizer\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"normalizer\",\n"
+"        \"ShortText\"\n"
+"      ]\n"
+"    ],\n"
+"    [\n"
+"      256,\n"
+"      \"Store\",\n"
+"      \"/home/vagrant/droonga/000/db.0000100\",\n"
+"      \"TABLE_PAT_KEY|PERSISTENT\",\n"
+"      \"ShortText\",\n"
+"      null,\n"
+"      null,\n"
+"      null\n"
+"    ]\n"
+"  ]\n"
+"]\n"
+"~~~"
+msgstr ""
+
+msgid ""
 "Next, create new columns `name` and `location` to the `Store` table by the `co"
 "lumn_create` command, like:"
 msgstr "次は、`column_create` コマンドを使って `Store` テーブルに `name` と `location` という新しいカラムを作ります:"
@@ -638,23 +766,8 @@ msgid ""
 "~~~"
 msgstr ""
 
-msgid ""
-"*IMPORTANT NOTE*: Don't run `table_list` or `column_list` before the table is "
-"completely created.\n"
-"Otherwise indexes can be broken.\n"
-"This is a known issue on the version {{ site.droonga_version }}, and it will b"
-"e fixed in a future release."
-msgstr ""
-"*注意*: テーブルが完全にできあがるまでは、`table_list` や `column_list` といったコマンドを実行しないでください。テーブルがで"
-"きあがる前にこれらのコマンドを実行してしまうと、インデックスが破損した状態になってしまいます。これはバージョン{{ site.droonga_version"
-" }}での既知の不具合で、将来のバージョンで修正される予定です。"
-
-msgid ""
-"OK, now the table has been created successfully.\n"
-"Let's see it by the `table_list` command:"
-msgstr ""
-"さて、テーブルを正しく作成できました。\n"
-"`table_list` コマンドを使って、作成されたテーブルの情報を見てみましょう:"
+msgid "Let's confirm results:"
+msgstr "結果を確認してみましょう:"
 
 msgid ""
 "~~~\n"
@@ -662,8 +775,8 @@ msgid ""
 "[\n"
 "  [\n"
 "    0,\n"
-"    1401358908.9126804,\n"
-"    0.001600027084350586\n"
+"    1416390011.7194495,\n"
+"    0.0015704631805419922\n"
 "  ],\n"
 "  [\n"
 "    [\n"
@@ -701,31 +814,43 @@ msgid ""
 "      ]\n"
 "    ],\n"
 "    [\n"
+"      261,\n"
+"      \"Location\",\n"
+"      \"/home/droonga-engine/droonga/databases/000/db.0000105\",\n"
+"      \"TABLE_PAT_KEY|PERSISTENT\",\n"
+"      \"WGS84GeoPoint\",\n"
+"      null,\n"
+"      null,\n"
+"      null\n"
+"    ],\n"
+"    [\n"
 "      256,\n"
 "      \"Store\",\n"
-"      \"/home/vagrant/droonga/000/db.0000100\",\n"
+"      \"/home/droonga-engine/droonga/databases/000/db.0000100\",\n"
 "      \"TABLE_PAT_KEY|PERSISTENT\",\n"
 "      \"ShortText\",\n"
 "      null,\n"
 "      null,\n"
 "      null\n"
+"    ],\n"
+"    [\n"
+"      259,\n"
+"      \"Term\",\n"
+"      \"/home/droonga-engine/droonga/databases/000/db.0000103\",\n"
+"      \"TABLE_PAT_KEY|PERSISTENT\",\n"
+"      \"ShortText\",\n"
+"      null,\n"
+"      \"TokenBigram\",\n"
+"      \"NormalizerAuto\"\n"
 "    ]\n"
 "  ]\n"
 "]\n"
-"~~~"
-msgstr ""
-
-msgid "Because it is a cluster, another endpoint returns same result."
-msgstr "Droongaはクラスタで動作するので、他のエンドポイントも同じ結果を返します。"
-
-msgid ""
-"~~~\n"
-"$ curl \"http://node1:10041/d/table_list\" | jq \".\"\n"
+"$ curl \"$endpoint/d/column_list?table=Store\" | jq \".\"\n"
 "[\n"
 "  [\n"
 "    0,\n"
-"    1401358908.9126804,\n"
-"    0.001600027084350586\n"
+"    1416390069.515929,\n"
+"    0.001077413558959961\n"
 "  ],\n"
 "  [\n"
 "    [\n"
@@ -742,6 +867,10 @@ msgid ""
 "        \"ShortText\"\n"
 "      ],\n"
 "      [\n"
+"        \"type\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
 "        \"flags\",\n"
 "        \"ShortText\"\n"
 "      ],\n"
@@ -754,23 +883,171 @@ msgid ""
 "        \"ShortText\"\n"
 "      ],\n"
 "      [\n"
-"        \"default_tokenizer\",\n"
+"        \"source\",\n"
+"        \"ShortText\"\n"
+"      ]\n"
+"    ],\n"
+"    [\n"
+"      256,\n"
+"      \"_key\",\n"
+"      \"\",\n"
+"      \"\",\n"
+"      \"COLUMN_SCALAR\",\n"
+"      \"Store\",\n"
+"      \"ShortText\",\n"
+"      []\n"
+"    ],\n"
+"    [\n"
+"      258,\n"
+"      \"location\",\n"
+"      \"/home/droonga-engine/droonga/databases/000/db.0000102\",\n"
+"      \"fix\",\n"
+"      \"COLUMN_SCALAR\",\n"
+"      \"Store\",\n"
+"      \"WGS84GeoPoint\",\n"
+"      []\n"
+"    ],\n"
+"    [\n"
+"      257,\n"
+"      \"name\",\n"
+"      \"/home/droonga-engine/droonga/databases/000/db.0000101\",\n"
+"      \"var\",\n"
+"      \"COLUMN_SCALAR\",\n"
+"      \"Store\",\n"
+"      \"ShortText\",\n"
+"      []\n"
+"    ]\n"
+"  ]\n"
+"]\n"
+"$ curl \"$endpoint/d/column_list?table=Term\" | jq \".\"\n"
+"[\n"
+"  [\n"
+"    0,\n"
+"    1416390110.143951,\n"
+"    0.0013172626495361328\n"
+"  ],\n"
+"  [\n"
+"    [\n"
+"      [\n"
+"        \"id\",\n"
+"        \"UInt32\"\n"
+"      ],\n"
+"      [\n"
+"        \"name\",\n"
 "        \"ShortText\"\n"
 "      ],\n"
 "      [\n"
-"        \"normalizer\",\n"
+"        \"path\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"type\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"flags\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"domain\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"range\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"source\",\n"
 "        \"ShortText\"\n"
 "      ]\n"
 "    ],\n"
 "    [\n"
-"      256,\n"
-"      \"Store\",\n"
-"      \"/home/vagrant/droonga/000/db.0000100\",\n"
-"      \"TABLE_PAT_KEY|PERSISTENT\",\n"
+"      259,\n"
+"      \"_key\",\n"
+"      \"\",\n"
+"      \"\",\n"
+"      \"COLUMN_SCALAR\",\n"
+"      \"Term\",\n"
 "      \"ShortText\",\n"
-"      null,\n"
-"      null,\n"
-"      null\n"
+"      []\n"
+"    ],\n"
+"    [\n"
+"      260,\n"
+"      \"store_name\",\n"
+"      \"/home/droonga-engine/droonga/databases/000/db.0000104\",\n"
+"      \"index\",\n"
+"      \"COLUMN_INDEX|WITH_POSITION\",\n"
+"      \"Term\",\n"
+"      \"Store\",\n"
+"      [\n"
+"        \"name\"\n"
+"      ]\n"
+"    ]\n"
+"  ]\n"
+"]\n"
+"$ curl \"$endpoint/d/column_list?table=Location\" | jq \".\"\n"
+"[\n"
+"  [\n"
+"    0,\n"
+"    1416390163.0140722,\n"
+"    0.0009713172912597656\n"
+"  ],\n"
+"  [\n"
+"    [\n"
+"      [\n"
+"        \"id\",\n"
+"        \"UInt32\"\n"
+"      ],\n"
+"      [\n"
+"        \"name\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"path\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"type\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"flags\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"domain\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"range\",\n"
+"        \"ShortText\"\n"
+"      ],\n"
+"      [\n"
+"        \"source\",\n"
+"        \"ShortText\"\n"
+"      ]\n"
+"    ],\n"
+"    [\n"
+"      261,\n"
+"      \"_key\",\n"
+"      \"\",\n"
+"      \"\",\n"
+"      \"COLUMN_SCALAR\",\n"
+"      \"Location\",\n"
+"      \"WGS84GeoPoint\",\n"
+"      []\n"
+"    ],\n"
+"    [\n"
+"      262,\n"
+"      \"store\",\n"
+"      \"/home/droonga-engine/droonga/databases/000/db.0000106\",\n"
+"      \"index\",\n"
+"      \"COLUMN_INDEX\",\n"
+"      \"Location\",\n"
+"      \"Store\",\n"
+"      [\n"
+"        \"location\"\n"
+"      ]\n"
 "    ]\n"
 "  ]\n"
 "]\n"

  Modified: ja/tutorial/1.0.8/add-replica/index.md (+10 -18)
===================================================================
--- ja/tutorial/1.0.8/add-replica/index.md    2014-11-19 18:48:40 +0900 (9cb8b35)
+++ ja/tutorial/1.0.8/add-replica/index.md    2014-11-19 18:53:10 +0900 (413387c)
@@ -92,7 +92,7 @@ Droongaのノードの集合には、「replica」と「slice」という2つの
 この事は、`system.status`コマンドを通じて確認できます:
 
 ~~~
-$ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node0:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node0:10031/droonga": {
@@ -103,7 +103,7 @@ $ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
     }
   }
 }
-$ curl "http://node1:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node1:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node0:10031/droonga": {
@@ -114,7 +114,7 @@ $ curl "http://node1:10041/droonga/system/status?_=$(date +%s)" | jq "."
     }
   }
 }
-$ curl "http://node2:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node2:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node2:10031/droonga": {
@@ -170,7 +170,7 @@ Done.
 これで、ノードがクラスタに参加しました。この事は `system.status` コマンドで確かめられます:
 
 ~~~
-$ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node0:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node0:10031/droonga": {
@@ -186,8 +186,6 @@ $ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
 }
 ~~~
 
-古いレスポンスキャッシュを無視するために、各リクエストに追加の一意なパラメータを加えていることに注意して下さい。
-
 ### 書き込みを伴うリクエストの流入を再開する
 
 さて、準備ができました。
@@ -228,7 +226,7 @@ Done.
 これで、ノード `node2` がクラスタから離脱しました。この事は `system.status` コマンドで確かめられます:
 
 ~~~
-$ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node0:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node0:10031/droonga": {
@@ -239,7 +237,7 @@ $ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
     }
   }
 }
-$ curl "http://node1:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node1:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node0:10031/droonga": {
@@ -250,7 +248,7 @@ $ curl "http://node1:10041/droonga/system/status?_=$(date +%s)" | jq "."
     }
   }
 }
-$ curl "http://node2:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node2:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node0:10031/droonga": {
@@ -263,8 +261,6 @@ $ curl "http://node2:10041/droonga/system/status?_=$(date +%s)" | jq "."
 }
 ~~~
 
-古いレスポンスキャッシュを無視するために、各リクエストに追加の一意なパラメータを加えていることに注意して下さい。
-
 `node2` までもが、`node2` がクラスタの一員ではないと報告していることに注目して下さい。
 これは、クラスタから離脱したノードと新しいノードとの違いです。
 
@@ -289,7 +285,7 @@ $ droonga-engine-unjoin --host=node1
 これで、ノードがクラスタから離脱しました。この事は `system.status` コマンドで確かめられます:
 
 ~~~
-$ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node0:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node0:10031/droonga": {
@@ -299,8 +295,6 @@ $ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
 }
 ~~~
 
-古いレスポンスキャッシュを無視するために、各リクエストに追加の一意なパラメータを加えていることに注意して下さい。
-
 ### 新しいreplicaを追加する
 
 次に、新しいreplica `node2`を用意します。
@@ -339,7 +333,7 @@ $ droonga-engine-join --host=node2 \
 この事は、`system.status` コマンドの結果を見ると確認できます:
 
 ~~~
-$ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node0:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node0:10031/droonga": {
@@ -350,7 +344,7 @@ $ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
     }
   }
 }
-$ curl "http://node2:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node2:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node0:10031/droonga": {
@@ -363,8 +357,6 @@ $ curl "http://node2:10041/droonga/system/status?_=$(date +%s)" | jq "."
 }
 ~~~
 
-古いレスポンスキャッシュを無視するために、各リクエストに追加の一意なパラメータを加えていることに注意して下さい。
-
 ## まとめ
 
 このチュートリアルでは、既存の[Droonga][]クラスタに新しいreplicaノードを追加する方法を学びました。

  Modified: ja/tutorial/1.0.8/dump-restore/index.md (+7 -7)
===================================================================
--- ja/tutorial/1.0.8/dump-restore/index.md    2014-11-19 18:48:40 +0900 (3183576)
+++ ja/tutorial/1.0.8/dump-restore/index.md    2014-11-19 18:53:10 +0900 (91d10ee)
@@ -176,7 +176,7 @@ $ curl "$endpoint/d/table_remove?name=Term" | jq "."
 これでクラスタは空になりました。確かめてみましょう:
 
 ~~~
-$ curl "$endpoint/d/table_list?_=$(date +%s)" | jq "."
+$ curl "$endpoint/d/table_list" | jq "."
 [
   [
     0,
@@ -335,16 +335,16 @@ $ curl "$endpoint/d/select?table=Store&output_columns=name&limit=10&_=$(date +%s
 (on node1)
 # droonga-engine-catalog-modify --replica-hosts=node1
 $ endpoint="http://node1:10041"
-$ curl "$endpoint/d/table_remove?name=Location&_=$(date +%s)"
-$ curl "$endpoint/d/table_remove?name=Store&_=$(date +%s)"
-$ curl "$endpoint/d/table_remove?name=Term&_=$(date +%s)"
+$ curl "$endpoint/d/table_remove?name=Location"
+$ curl "$endpoint/d/table_remove?name=Store"
+$ curl "$endpoint/d/table_remove?name=Term"
 ~~~
 
 これで、ノード `node0` を含む複製元クラスタと、ノード `node1` を含む複製先の空のクラスタの、2つのクラスタができました。確かめてみましょう:
 
 
 ~~~
-$ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node0:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node0:10031/droonga": {
@@ -403,7 +403,7 @@ $ curl "http://node0:10041/d/select?table=Store&output_columns=name&limit=10&_=$
     ]
   ]
 ]
-$ curl "http://node1:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node1:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node1:10031/droonga": {
@@ -526,7 +526,7 @@ $ curl "http://node1:10041/d/select?table=Store&output_columns=name&limit=10&_=$
 これで、1つだけクラスタがある状態になりました。最初の状態に戻ったという事になります。
 
 ~~~
-$ curl "http://node0:10041/droonga/system/status?_=$(date +%s)" | jq "."
+$ curl "http://node0:10041/droonga/system/status" | jq "."
 {
   "nodes": {
     "node0:10031/droonga": {

  Modified: ja/tutorial/1.0.8/groonga/index.md (+307 -25)
===================================================================
--- ja/tutorial/1.0.8/groonga/index.md    2014-11-19 18:48:40 +0900 (44f094f)
+++ ja/tutorial/1.0.8/groonga/index.md    2014-11-19 18:53:10 +0900 (e5246f7)
@@ -295,11 +295,129 @@ $ curl "$endpoint/d/table_create?name=Store&flags=TABLE_PAT_KEY&key_type=ShortTe
 ]
 ~~~
 
-
 リクエストの送信先として、Droongaノード中でdroonga-http-serverが動作しているDroongaノードのどれか1つを指定する必要がある事に注意して下さい。
 言い換えると、接続先(エンドポイント)としてはクラスタ中のどのノードでも好きな物を使う事ができます。
 すべてのリクエストは、クラスタ中の適切なノードに配送されます。
 
+さて、テーブルを正しく作成できました。
+`table_list` コマンドを使って、作成されたテーブルの情報を見てみましょう:
+
+~~~
+$ curl "$endpoint/d/table_list" | jq "."
+[
+  [
+    0,
+    1401358908.9126804,
+    0.001600027084350586
+  ],
+  [
+    [
+      [
+        "id",
+        "UInt32"
+      ],
+      [
+        "name",
+        "ShortText"
+      ],
+      [
+        "path",
+        "ShortText"
+      ],
+      [
+        "flags",
+        "ShortText"
+      ],
+      [
+        "domain",
+        "ShortText"
+      ],
+      [
+        "range",
+        "ShortText"
+      ],
+      [
+        "default_tokenizer",
+        "ShortText"
+      ],
+      [
+        "normalizer",
+        "ShortText"
+      ]
+    ],
+    [
+      256,
+      "Store",
+      "/home/vagrant/droonga/000/db.0000100",
+      "TABLE_PAT_KEY|PERSISTENT",
+      "ShortText",
+      null,
+      null,
+      null
+    ]
+  ]
+]
+~~~
+
+Droongaはクラスタで動作するので、他のエンドポイントも同じ結果を返します。
+
+~~~
+$ curl "http://node1:10041/d/table_list" | jq "."
+[
+  [
+    0,
+    1401358908.9126804,
+    0.001600027084350586
+  ],
+  [
+    [
+      [
+        "id",
+        "UInt32"
+      ],
+      [
+        "name",
+        "ShortText"
+      ],
+      [
+        "path",
+        "ShortText"
+      ],
+      [
+        "flags",
+        "ShortText"
+      ],
+      [
+        "domain",
+        "ShortText"
+      ],
+      [
+        "range",
+        "ShortText"
+      ],
+      [
+        "default_tokenizer",
+        "ShortText"
+      ],
+      [
+        "normalizer",
+        "ShortText"
+      ]
+    ],
+    [
+      256,
+      "Store",
+      "/home/vagrant/droonga/000/db.0000100",
+      "TABLE_PAT_KEY|PERSISTENT",
+      "ShortText",
+      null,
+      null,
+      null
+    ]
+  ]
+]
+~~~
+
 次は、`column_create` コマンドを使って `Store` テーブルに `name` と `location` という新しいカラムを作ります:
 
 ~~~
@@ -364,18 +482,15 @@ $ curl "$endpoint/d/column_create?table=Location&name=store&flags=COLUMN_INDEX&t
 ]
 ~~~
 
-*注意*: テーブルが完全にできあがるまでは、`table_list` や `column_list` といったコマンドを実行しないでください。テーブルができあがる前にこれらのコマンドを実行してしまうと、インデックスが破損した状態になってしまいます。これはバージョン{{ site.droonga_version }}での既知の不具合で、将来のバージョンで修正される予定です。
-
-さて、テーブルを正しく作成できました。
-`table_list` コマンドを使って、作成されたテーブルの情報を見てみましょう:
+結果を確認してみましょう:
 
 ~~~
 $ curl "$endpoint/d/table_list" | jq "."
 [
   [
     0,
-    1401358908.9126804,
-    0.001600027084350586
+    1416390011.7194495,
+    0.0015704631805419922
   ],
   [
     [
@@ -413,28 +528,43 @@ $ curl "$endpoint/d/table_list" | jq "."
       ]
     ],
     [
+      261,
+      "Location",
+      "/home/droonga-engine/droonga/databases/000/db.0000105",
+      "TABLE_PAT_KEY|PERSISTENT",
+      "WGS84GeoPoint",
+      null,
+      null,
+      null
+    ],
+    [
       256,
       "Store",
-      "/home/vagrant/droonga/000/db.0000100",
+      "/home/droonga-engine/droonga/databases/000/db.0000100",
       "TABLE_PAT_KEY|PERSISTENT",
       "ShortText",
       null,
       null,
       null
+    ],
+    [
+      259,
+      "Term",
+      "/home/droonga-engine/droonga/databases/000/db.0000103",
+      "TABLE_PAT_KEY|PERSISTENT",
+      "ShortText",
+      null,
+      "TokenBigram",
+      "NormalizerAuto"
     ]
   ]
 ]
-~~~
-
-Droongaはクラスタで動作するので、他のエンドポイントも同じ結果を返します。
-
-~~~
-$ curl "http://node1:10041/d/table_list" | jq "."
+$ curl "$endpoint/d/column_list?table=Store" | jq "."
 [
   [
     0,
-    1401358908.9126804,
-    0.001600027084350586
+    1416390069.515929,
+    0.001077413558959961
   ],
   [
     [
@@ -451,6 +581,10 @@ $ curl "http://node1:10041/d/table_list" | jq "."
         "ShortText"
       ],
       [
+        "type",
+        "ShortText"
+      ],
+      [
         "flags",
         "ShortText"
       ],
@@ -463,23 +597,171 @@ $ curl "http://node1:10041/d/table_list" | jq "."
         "ShortText"
       ],
       [
-        "default_tokenizer",
+        "source",
+        "ShortText"
+      ]
+    ],
+    [
+      256,
+      "_key",
+      "",
+      "",
+      "COLUMN_SCALAR",
+      "Store",
+      "ShortText",
+      []
+    ],
+    [
+      258,
+      "location",
+      "/home/droonga-engine/droonga/databases/000/db.0000102",
+      "fix",
+      "COLUMN_SCALAR",
+      "Store",
+      "WGS84GeoPoint",
+      []
+    ],
+    [
+      257,
+      "name",
+      "/home/droonga-engine/droonga/databases/000/db.0000101",
+      "var",
+      "COLUMN_SCALAR",
+      "Store",
+      "ShortText",
+      []
+    ]
+  ]
+]
+$ curl "$endpoint/d/column_list?table=Term" | jq "."
+[
+  [
+    0,
+    1416390110.143951,
+    0.0013172626495361328
+  ],
+  [
+    [
+      [
+        "id",
+        "UInt32"
+      ],
+      [
+        "name",
         "ShortText"
       ],
       [
-        "normalizer",
+        "path",
+        "ShortText"
+      ],
+      [
+        "type",
+        "ShortText"
+      ],
+      [
+        "flags",
+        "ShortText"
+      ],
+      [
+        "domain",
+        "ShortText"
+      ],
+      [
+        "range",
+        "ShortText"
+      ],
+      [
+        "source",
         "ShortText"
       ]
     ],
     [
-      256,
-      "Store",
-      "/home/vagrant/droonga/000/db.0000100",
-      "TABLE_PAT_KEY|PERSISTENT",
+      259,
+      "_key",
+      "",
+      "",
+      "COLUMN_SCALAR",
+      "Term",
       "ShortText",
-      null,
-      null,
-      null
+      []
+    ],
+    [
+      260,
+      "store_name",
+      "/home/droonga-engine/droonga/databases/000/db.0000104",
+      "index",
+      "COLUMN_INDEX|WITH_POSITION",
+      "Term",
+      "Store",
+      [
+        "name"
+      ]
+    ]
+  ]
+]
+$ curl "$endpoint/d/column_list?table=Location" | jq "."
+[
+  [
+    0,
+    1416390163.0140722,
+    0.0009713172912597656
+  ],
+  [
+    [
+      [
+        "id",
+        "UInt32"
+      ],
+      [
+        "name",
+        "ShortText"
+      ],
+      [
+        "path",
+        "ShortText"
+      ],
+      [
+        "type",
+        "ShortText"
+      ],
+      [
+        "flags",
+        "ShortText"
+      ],
+      [
+        "domain",
+        "ShortText"
+      ],
+      [
+        "range",
+        "ShortText"
+      ],
+      [
+        "source",
+        "ShortText"
+      ]
+    ],
+    [
+      261,
+      "_key",
+      "",
+      "",
+      "COLUMN_SCALAR",
+      "Location",
+      "WGS84GeoPoint",
+      []
+    ],
+    [
+      262,
+      "store",
+      "/home/droonga-engine/droonga/databases/000/db.0000106",
+      "index",
+      "COLUMN_INDEX",
+      "Location",
+      "Store",
+      [
+        "location"
+      ]
     ]
   ]
 ]
-------------- next part --------------
HTML����������������������������...
下載 



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