YUKI Hiroshi
null+****@clear*****
Fri Jun 27 20:33:46 JST 2014
YUKI Hiroshi 2014-06-27 20:33:46 +0900 (Fri, 27 Jun 2014) New Revision: 0e4690bca1175326f57877809babddb91e7ce60d https://github.com/droonga/droonga.org/commit/0e4690bca1175326f57877809babddb91e7ce60d Message: Shorten descriptions Modified files: _po/ja/tutorial/1.0.4/dump-restore/index.po ja/tutorial/1.0.4/dump-restore/index.md tutorial/1.0.4/dump-restore/index.md Modified: _po/ja/tutorial/1.0.4/dump-restore/index.po (+12 -29) =================================================================== --- _po/ja/tutorial/1.0.4/dump-restore/index.po 2014-06-27 20:27:34 +0900 (bd80391) +++ _po/ja/tutorial/1.0.4/dump-restore/index.po 2014-06-27 20:33:46 +0900 (1bde423) @@ -352,26 +352,19 @@ msgid "" "ew York NY (W)\"]]]]" msgstr "" -msgid "## Duplicate an existing Droonga cluster to another empty cluster" -msgstr "## 既存のクラスタを別の空のクラスタに複製する" +msgid "## Duplicate an existing Droonga cluster to another empty cluster directly" +msgstr "## 既存のクラスタを別の空のクラスタに直接複製する" msgid "" -"If you have multiple Droonga clusters, then you can duplicate one to another w" -"ith `drndump` and `droonga-request` commands." -msgstr "" -"複数のDroongaクラスタが存在する時に、`drndump` と `droonga-request` の2つのコマンドを併用すると、片方のクラスタの内容を" -"もう片方に複製する事ができます。" - -msgid "" -"The command `drndump` reports its result to the standard output.\n" -"On the other hand, `droonga-request` can receive messages from the standard in" -"put.\n" -"So, you just connect them with a pipe, to duplicate contents of a cluster to a" -"nother." +"If you have multiple Droonga clusters, then you can duplicate one to another.\n" +"For this purpose, the package `droonga-engine` includes a utility command `dro" +"onga-engine-absorb-data`.\n" +"It copies all data from an existing cluster to another one directly, so it is " +"recommended if you don't need to save dump file locally." msgstr "" -"`drndump` コマンドは結果を標準出力に出力します。\n" -"その一方で、`droonga-request` コマンドは標準入力からメッセージを受け取る事ができます。\n" -"ですので、これらをパイプで繋げるだけで、片方のクラスタの内容をもう片方に複製できます。" +"複数のDroongaクラスタが存在する場合、片方のクラスタの内容をもう片方のクラスタに複製することができます。\n" +"`droonga-engine` パッケージは `droonga-engine-absorb-data` というユーティリティコマンドを含んでおり、これを使" +"うと、既存のクラスタから別のクラスタへ直接データをコピーする事ができます。ローカルにダンプファイルを保存する必要がない場合には、この方法がおすすめです。" msgid "### Prepare multiple Droonga clusters" msgstr "### 複数のDroongaクラスタを用意する" @@ -435,18 +428,8 @@ msgid "" " [[0,1401363465.610241,0],[[[null],[]]]]" msgstr "" -msgid "### Duplicate data between two Droonga clusters directly" -msgstr "### 2つのDroongaクラスタの間で直接データを複製する" - -msgid "" -"The package `droonga-engine` includes a utility command `droonga-engine-absorb" -"-data`.\n" -"It copies all data from an existing cluster to another one directly, so it is " -"recommended if you don't need to save dump file locally." -msgstr "" -"`droonga-engine` パッケージは `droonga-engine-absorb-data` というユーティリティコマンドを含んでいます。\n" -"これを使うと、既存のクラスタから別のクラスタへ直接データをコピーする事ができます。ローカルにダンプファイルを保存する必要がない場合には、この方法がおすすめで" -"す。" +msgid "### Duplicate data between two Droonga clusters" +msgstr "### 2つのDroongaクラスタの間でデータを複製する" msgid "" "To copy data between two clusters, run the command *on a node of the destinati" Modified: ja/tutorial/1.0.4/dump-restore/index.md (+4 -10) =================================================================== --- ja/tutorial/1.0.4/dump-restore/index.md 2014-06-27 20:27:34 +0900 (a0ca809) +++ ja/tutorial/1.0.4/dump-restore/index.md 2014-06-27 20:33:46 +0900 (222a194) @@ -226,13 +226,10 @@ Elapsed time: 0.008678467 # ${endpoint}/select?table=Store&output_columns=name&limit=10" [[0,1401363556.0294158,0.0000762939453125],[[[40],[["name","ShortText"]],["1st Avenue & 75th St. - New York NY (W)"],["76th & Second - New York NY (W)"],["Herald Square- Macy's - New York NY"],["Macy's 5th Floor - Herald Square - New York NY (W)"],["80th & York - New York NY (W)"],["Columbus @ 67th - New York NY (W)"],["45th & Broadway - New York NY (W)"],["Marriott Marquis - Lobby - New York NY"],["Second @ 81st - New York NY (W)"],["52nd & Seventh - New York NY (W)"]]]] -## 既存のクラスタを別の空のクラスタに複製する +## 既存のクラスタを別の空のクラスタに直接複製する -複数のDroongaクラスタが存在する時に、`drndump` と `droonga-request` の2つのコマンドを併用すると、片方のクラスタの内容をもう片方に複製する事ができます。 - -`drndump` コマンドは結果を標準出力に出力します。 -その一方で、`droonga-request` コマンドは標準入力からメッセージを受け取る事ができます。 -ですので、これらをパイプで繋げるだけで、片方のクラスタの内容をもう片方に複製できます。 +複数のDroongaクラスタが存在する場合、片方のクラスタの内容をもう片方のクラスタに複製することができます。 +`droonga-engine` パッケージは `droonga-engine-absorb-data` というユーティリティコマンドを含んでおり、これを使うと、既存のクラスタから別のクラスタへ直接データをコピーする事ができます。ローカルにダンプファイルを保存する必要がない場合には、この方法がおすすめです。 ### 複数のDroongaクラスタを用意する @@ -264,10 +261,7 @@ Elapsed time: 0.008678467 # curl "http://192.168.0.11:10041/d/select?table=Store&output_columns=name&limit=10" [[0,1401363465.610241,0],[[[null],[]]]] -### 2つのDroongaクラスタの間で直接データを複製する - -`droonga-engine` パッケージは `droonga-engine-absorb-data` というユーティリティコマンドを含んでいます。 -これを使うと、既存のクラスタから別のクラスタへ直接データをコピーする事ができます。ローカルにダンプファイルを保存する必要がない場合には、この方法がおすすめです。 +### 2つのDroongaクラスタの間でデータを複製する 2つのクラスタの間でデータをコピーするには、*コピー先となるクラスタのノード上で*以下のようにコマンドを実行します: Modified: tutorial/1.0.4/dump-restore/index.md (+5 -10) =================================================================== --- tutorial/1.0.4/dump-restore/index.md 2014-06-27 20:27:34 +0900 (bcc4258) +++ tutorial/1.0.4/dump-restore/index.md 2014-06-27 20:33:46 +0900 (fd50862) @@ -219,13 +219,11 @@ Then the data is completely restored. Confirm it: # ${endpoint}/select?table=Store&output_columns=name&limit=10" [[0,1401363556.0294158,0.0000762939453125],[[[40],[["name","ShortText"]],["1st Avenue & 75th St. - New York NY (W)"],["76th & Second - New York NY (W)"],["Herald Square- Macy's - New York NY"],["Macy's 5th Floor - Herald Square - New York NY (W)"],["80th & York - New York NY (W)"],["Columbus @ 67th - New York NY (W)"],["45th & Broadway - New York NY (W)"],["Marriott Marquis - Lobby - New York NY"],["Second @ 81st - New York NY (W)"],["52nd & Seventh - New York NY (W)"]]]] -## Duplicate an existing Droonga cluster to another empty cluster +## Duplicate an existing Droonga cluster to another empty cluster directly -If you have multiple Droonga clusters, then you can duplicate one to another with `drndump` and `droonga-request` commands. - -The command `drndump` reports its result to the standard output. -On the other hand, `droonga-request` can receive messages from the standard input. -So, you just connect them with a pipe, to duplicate contents of a cluster to another. +If you have multiple Droonga clusters, then you can duplicate one to another. +For this purpose, the package `droonga-engine` includes a utility command `droonga-engine-absorb-data`. +It copies all data from an existing cluster to another one directly, so it is recommended if you don't need to save dump file locally. ### Prepare multiple Droonga clusters @@ -258,10 +256,7 @@ After that there are two clusters: one contains `192.168.0.10` with data, anothe # curl "http://192.168.0.11:10041/d/select?table=Store&output_columns=name&limit=10" [[0,1401363465.610241,0],[[[null],[]]]] -### Duplicate data between two Droonga clusters directly - -The package `droonga-engine` includes a utility command `droonga-engine-absorb-data`. -It copies all data from an existing cluster to another one directly, so it is recommended if you don't need to save dump file locally. +### Duplicate data between two Droonga clusters To copy data between two clusters, run the command *on a node of the destination cluster*, like: -------------- next part -------------- HTML����������������������������...Download