[Groonga-commit] droonga/droonga.org at 2b4def0 [gh-pages] Add reference of droonga-groonga command

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu May 7 21:36:19 JST 2015


YUKI Hiroshi	2015-05-07 21:36:19 +0900 (Thu, 07 May 2015)

  New Revision: 2b4def028dbda5a13afbd84f7ce4ac189b9f4405
  https://github.com/droonga/droonga.org/commit/2b4def028dbda5a13afbd84f7ce4ac189b9f4405

  Message:
    Add reference of droonga-groonga command

  Added files:
    _po/ja/reference/1.1.0/command-line-tools/droonga-groonga/index.po
    _po/ja/reference/1.1.1/command-line-tools/droonga-groonga/index.po
    ja/reference/1.1.0/command-line-tools/droonga-groonga/index.md
    ja/reference/1.1.1/command-line-tools/droonga-groonga/index.md
    reference/1.1.0/command-line-tools/droonga-groonga/index.md
    reference/1.1.1/command-line-tools/droonga-groonga/index.md

  Added: _po/ja/reference/1.1.0/command-line-tools/droonga-groonga/index.po (+299 -0) 100644
===================================================================
--- /dev/null
+++ _po/ja/reference/1.1.0/command-line-tools/droonga-groonga/index.po    2015-05-07 21:36:19 +0900 (0f4bf77)
@@ -0,0 +1,299 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2014-11-30 23:19+0900\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+msgid ""
+"---\n"
+"title: droonga-groonga\n"
+"layout: en\n"
+"---"
+msgstr ""
+"---\n"
+"title: droonga-groonga\n"
+"layout: ja\n"
+"---"
+
+msgid ""
+"* TOC\n"
+"{:toc}"
+msgstr ""
+
+msgid "## Abstract {#abstract}"
+msgstr "## 概要 {#abstract}"
+
+msgid ""
+"`droonga-groonga` provides ability to communicate a Droonga cluster like a Gro"
+"onga server, via the command line interface."
+msgstr ""
+"`droonga-groonga`は、Droongaクラスタに対してコマンドラインインターフェース経由でGroongaサーバのように通信する機能を提供します"
+"。"
+
+msgid ""
+"For example, if there is a Droonga Engine node `192.168.100.50` and you are lo"
+"gged in to a computer `192.168.100.10` in the same network segment, the comman"
+"d line to list all tables is:"
+msgstr ""
+"例えば、`192.168.100.50`というDroonga Engineノードがあり、同一ネットワークセグメント内のコンピュータ`192.168.100."
+"10`にログインしている場合、全てのテーブルの一覧を出力するコマンド列は以下のようになります:"
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.10 --prett"
+"y \\\n"
+"    table_list\n"
+"[\n"
+"  [\n"
+"    0,\n"
+"    1431000097.1314175,\n"
+"    0.00024175643920898438\n"
+"  ],\n"
+"  [\n"
+"    [\n"
+"      [\n"
+"        \"id\",\n"
+"        \"UInt32\"\n"
+"      ],\n"
+"      [\n"
+"        \"name\",\n"
+"        \"ShortText\"\n"
+"  ...\n"
+"  ]\n"
+"]\n"
+"~~~"
+msgstr ""
+
+msgid ""
+"This command is just a shorthand of [`droonga-request`](../droonga-request/) w"
+"ith a message of Groonga compatible commands.\n"
+"The result produced by the following command line almost equals to the one of "
+"above:"
+msgstr ""
+"このコマンドは、Groonga互換コマンドのメッセージを[`droonga-request`](../droonga-request/)を用いて送信する操作"
+"を簡単に行う物です。\n"
+"上記コマンド列によってもたらされる結果は、以下のコマンド列の結果と実質的に同一です:"
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ echo '{\"type\":\"table_list\"}' |\n"
+"    droonga-request --report-request --host 192.168.100.50 --receiver-host 192"
+".168.100.10\n"
+"Request: {\n"
+"  \"type\": \"table_list\",\n"
+"  \"id\": \"1431000097.1242323\",\n"
+"  \"date\": \"2015-05-07T12:01:37.124254Z\",\n"
+"  \"dataset\": \"Default\"\n"
+"}\n"
+"Elapsed time: 0.011710191\n"
+"{\n"
+"  \"inReplyTo\": \"1431000097.1242323\",\n"
+"  \"statusCode\": 200,\n"
+"  \"type\": \"table_list.result\",\n"
+"  \"body\": [\n"
+"    [\n"
+"      0,\n"
+"      1431000097.1314175,\n"
+"      0.00024175643920898438\n"
+"    ],\n"
+"    [\n"
+"      [\n"
+"        [\n"
+"          \"id\",\n"
+"          \"UInt32\"\n"
+"        ],\n"
+"        [\n"
+"          \"name\",\n"
+"          \"ShortText\"\n"
+"    ...\n"
+"    ]\n"
+"  ]\n"
+"}\n"
+"~~~"
+msgstr ""
+
+msgid ""
+"See also [references of Groonga compatible command](../../commands/) and [Groo"
+"nga's reference manual](http://groonga.org/docs/reference/command.html)."
+msgstr ""
+"[Groonga互換コマンドのリファレンス](../../commands/)、および[Groongaのリファレンスマニュアル](http://groong"
+"a.org/ja/docs/reference/command.html)も併せて参照して下さい。"
+
+msgid "## Compatibility to the `groonga` command {#compatibility}"
+msgstr "## `groonga`コマンドとの互換性 {#compatibility}"
+
+msgid ""
+"This command is designed to work like [\"client mode\" and \"standalone mode\" of "
+"the `groonga` command](http://groonga.org/docs/reference/executables/groonga.h"
+"tml).\n"
+"All command line arguments given to this command except Droonga specific optio"
+"ns will work like command line arguments for the `groonga` command.\n"
+"For example:"
+msgstr ""
+"このコマンドは[`groonga`コマンドのクライアントモードおよびスタンドアロンモード](http://groonga.org/ja/docs/refer"
+"ence/executables/groonga.html)のように動作するよう設計されています。\n"
+"このコマンドに与えられた、Droonga固有のオプションを除いた残りの全てのコマンドライン引数は、`groonga`コマンドのコマンドライン引数と同様に動作"
+"します。\n"
+"例:"
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ GROONGA=\"droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.1"
+"0 --pretty \"\n"
+"$ $GROONGA table_list\n"
+"$ $GROONGA column_list --table Store\n"
+"$ $GROONGA select --table Store --match_columns name --query ave --limit 5 --o"
+"utput_columns _key,name\n"
+"~~~"
+msgstr ""
+
+msgid ""
+"However, currently these features of the `groonga` command are not supported y"
+"et:"
+msgstr "ただし、現在の所`groonga`コマンドの以下の機能にはまだ対応していません:"
+
+msgid ""
+" * Executing multiple commands via the standard input.\n"
+" * `load` command with values given as separate lines following to main comman"
+"d line arguments.\n"
+" * Features not supported by Droonga itself."
+msgstr ""
+" * 標準入力経由での複数コマンドの実行\n"
+" * コマンドライン引数の後続行によって与えられる`load`コマンドのための値\n"
+" * Droongaが対応していないGroongaの機能"
+
+msgid "## Parameters {#parameters}"
+msgstr "## パラメータ {#parameters}"
+
+msgid ""
+"Groonga like command line arguments and following Droonga specific options are"
+" available."
+msgstr "Groonga風のコマンドライン引数と以下のDroonga固有のオプションが利用できます。"
+
+msgid ""
+"`--pretty`\n"
+": Output result as a pretty printed JSON."
+msgstr ""
+"`--pretty`\n"
+": 結果をpretty print形式のJSONで出力します。"
+
+msgid ""
+"`--host=NAME`\n"
+": Host name of the engine node.\n"
+"  A guessed host name of the computer you are running the command, by default."
+msgstr ""
+"`--host=NAME`\n"
+": メッセージの送信先となるEngineノードのホスト名。\n"
+"  既定値は、コマンドを実行しているコンピュータ自身の推測されたホスト名です。"
+
+msgid ""
+"`--port=PORT`\n"
+": Port number to communicate with the engine.\n"
+"  `10031` by default."
+msgstr ""
+"`--port=PORT`\n"
+": Engineノードとの通信に使うポート番号。\n"
+"  既定値は`10031`です。"
+
+msgid ""
+"`--tag=TAG`\n"
+": Tag name to communicate with the engine.\n"
+"  `droonga` by default."
+msgstr ""
+"`--tag=TAG`\n"
+": Engineノードとの通信に使うタグ名。\n"
+"  既定値は`droonga`です。"
+
+msgid ""
+"`--dataset=NAME`\n"
+": Dataset name for the sending message.\n"
+"  `Default` by default."
+msgstr ""
+"`--dataset=NAME`\n"
+": メッセージの送信先データセット名。\n"
+"  既定値は`Default`です。"
+
+msgid ""
+"`--receiver-host=NAME`\n"
+": Host name of the computer you are running this command.\n"
+"  A guessed host name of the computer, by default."
+msgstr ""
+"`--receiver-host=NAME`\n"
+": このコマンドを実行しているコンピュータのホスト名。\n"
+"  既定値は、そのコンピュータのホスト名として推測される名前です。"
+
+msgid ""
+"`--target-role=ROLE`\n"
+": Role of engine nodes which should process the message.\n"
+"  Possible values:"
+msgstr ""
+"`--target-role=ROLE`\n"
+": メッセージを処理できるEngineノードのロール。\n"
+"  以下のいずれかを指定します:"
+
+msgid ""
+"  * `service-provider`:\n"
+"    The message is processed by service provider nodes in the cluster.\n"
+"    For absorb-source nodes and absrob-destination nodes, the message will be "
+"dispatched later.\n"
+"  * `absorb-source`:\n"
+"    The message is processed by absorb-source nodes in the cluster.\n"
+"    For service provider nodes and absrob-destination nodes, the message is ne"
+"ver dispatched.\n"
+"  * `absorb-destination`:\n"
+"    The message is processed by absorb-destination nodes in the cluster.\n"
+"    For service provider nodes and absrob-source nodes, the message is never d"
+"ispatched.\n"
+"  * `any`:\n"
+"    The message is always processed by the node specified via the option `--ho"
+"st`."
+msgstr ""
+"  * `service-provider`:\n"
+"    メッセージは、クラスタ内でサービスを提供中のノードで処理されます。\n"
+"    データ抽出操作に関わるノードには、後から遅れてメッセージが伝搬します。\n"
+"  * `absorb-source`:\n"
+"    メッセージは、クラスタへのノード追加操作におけるデータコピー元となっているノードで処理されます。\n"
+"    サービスを提供中のノード、並びにデータコピー先となっているノードへは、メッセージは伝搬しません。\n"
+"  * `absorb-destination`:\n"
+"    メッセージは、クラスタへのノード追加操作におけるデータコピー先となっているノードで処理されます。\n"
+"    サービスを提供中のノード、並びにデータコピー元となっているノードへは、メッセージは伝搬しません。\n"
+"  * `any`:\n"
+"    メッセージは、`--host`で指定されたノードで処理されます。"
+
+msgid "  `any` by default."
+msgstr "  既定値は`any`です。"
+
+msgid ""
+"`--timeout=SECONDS`\n"
+": Time to terminate unresponsive connections, in seconds.\n"
+"  `3` by default."
+msgstr ""
+"`--timeout=SECONDS`\n"
+": 応答がない接続を打ち切るまでの待ち時間(単位:秒)です。\n"
+"  既定値は`3`です。"
+
+msgid ""
+"`-h`, `--help`\n"
+": Shows the usage of the command."
+msgstr ""
+"`-h`, `--help`\n"
+": コマンドの使い方の説明を表示します。"
+
+msgid "## How to install {#install}"
+msgstr "## インストール方法 {#install}"
+
+msgid "This is installed as a part of a rubygems package `droonga-client`."
+msgstr "このコマンドは、Rubygemsのパッケージ`droonga-client`の一部としてインストールされます。"
+
+msgid ""
+"~~~\n"
+"# gem install droonga-client\n"
+"~~~"
+msgstr ""

  Added: _po/ja/reference/1.1.1/command-line-tools/droonga-groonga/index.po (+299 -0) 100644
===================================================================
--- /dev/null
+++ _po/ja/reference/1.1.1/command-line-tools/droonga-groonga/index.po    2015-05-07 21:36:19 +0900 (0f4bf77)
@@ -0,0 +1,299 @@
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"PO-Revision-Date: 2014-11-30 23:19+0900\n"
+"Language: ja\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+msgid ""
+"---\n"
+"title: droonga-groonga\n"
+"layout: en\n"
+"---"
+msgstr ""
+"---\n"
+"title: droonga-groonga\n"
+"layout: ja\n"
+"---"
+
+msgid ""
+"* TOC\n"
+"{:toc}"
+msgstr ""
+
+msgid "## Abstract {#abstract}"
+msgstr "## 概要 {#abstract}"
+
+msgid ""
+"`droonga-groonga` provides ability to communicate a Droonga cluster like a Gro"
+"onga server, via the command line interface."
+msgstr ""
+"`droonga-groonga`は、Droongaクラスタに対してコマンドラインインターフェース経由でGroongaサーバのように通信する機能を提供します"
+"。"
+
+msgid ""
+"For example, if there is a Droonga Engine node `192.168.100.50` and you are lo"
+"gged in to a computer `192.168.100.10` in the same network segment, the comman"
+"d line to list all tables is:"
+msgstr ""
+"例えば、`192.168.100.50`というDroonga Engineノードがあり、同一ネットワークセグメント内のコンピュータ`192.168.100."
+"10`にログインしている場合、全てのテーブルの一覧を出力するコマンド列は以下のようになります:"
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.10 --prett"
+"y \\\n"
+"    table_list\n"
+"[\n"
+"  [\n"
+"    0,\n"
+"    1431000097.1314175,\n"
+"    0.00024175643920898438\n"
+"  ],\n"
+"  [\n"
+"    [\n"
+"      [\n"
+"        \"id\",\n"
+"        \"UInt32\"\n"
+"      ],\n"
+"      [\n"
+"        \"name\",\n"
+"        \"ShortText\"\n"
+"  ...\n"
+"  ]\n"
+"]\n"
+"~~~"
+msgstr ""
+
+msgid ""
+"This command is just a shorthand of [`droonga-request`](../droonga-request/) w"
+"ith a message of Groonga compatible commands.\n"
+"The result produced by the following command line almost equals to the one of "
+"above:"
+msgstr ""
+"このコマンドは、Groonga互換コマンドのメッセージを[`droonga-request`](../droonga-request/)を用いて送信する操作"
+"を簡単に行う物です。\n"
+"上記コマンド列によってもたらされる結果は、以下のコマンド列の結果と実質的に同一です:"
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ echo '{\"type\":\"table_list\"}' |\n"
+"    droonga-request --report-request --host 192.168.100.50 --receiver-host 192"
+".168.100.10\n"
+"Request: {\n"
+"  \"type\": \"table_list\",\n"
+"  \"id\": \"1431000097.1242323\",\n"
+"  \"date\": \"2015-05-07T12:01:37.124254Z\",\n"
+"  \"dataset\": \"Default\"\n"
+"}\n"
+"Elapsed time: 0.011710191\n"
+"{\n"
+"  \"inReplyTo\": \"1431000097.1242323\",\n"
+"  \"statusCode\": 200,\n"
+"  \"type\": \"table_list.result\",\n"
+"  \"body\": [\n"
+"    [\n"
+"      0,\n"
+"      1431000097.1314175,\n"
+"      0.00024175643920898438\n"
+"    ],\n"
+"    [\n"
+"      [\n"
+"        [\n"
+"          \"id\",\n"
+"          \"UInt32\"\n"
+"        ],\n"
+"        [\n"
+"          \"name\",\n"
+"          \"ShortText\"\n"
+"    ...\n"
+"    ]\n"
+"  ]\n"
+"}\n"
+"~~~"
+msgstr ""
+
+msgid ""
+"See also [references of Groonga compatible command](../../commands/) and [Groo"
+"nga's reference manual](http://groonga.org/docs/reference/command.html)."
+msgstr ""
+"[Groonga互換コマンドのリファレンス](../../commands/)、および[Groongaのリファレンスマニュアル](http://groong"
+"a.org/ja/docs/reference/command.html)も併せて参照して下さい。"
+
+msgid "## Compatibility to the `groonga` command {#compatibility}"
+msgstr "## `groonga`コマンドとの互換性 {#compatibility}"
+
+msgid ""
+"This command is designed to work like [\"client mode\" and \"standalone mode\" of "
+"the `groonga` command](http://groonga.org/docs/reference/executables/groonga.h"
+"tml).\n"
+"All command line arguments given to this command except Droonga specific optio"
+"ns will work like command line arguments for the `groonga` command.\n"
+"For example:"
+msgstr ""
+"このコマンドは[`groonga`コマンドのクライアントモードおよびスタンドアロンモード](http://groonga.org/ja/docs/refer"
+"ence/executables/groonga.html)のように動作するよう設計されています。\n"
+"このコマンドに与えられた、Droonga固有のオプションを除いた残りの全てのコマンドライン引数は、`groonga`コマンドのコマンドライン引数と同様に動作"
+"します。\n"
+"例:"
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ GROONGA=\"droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.1"
+"0 --pretty \"\n"
+"$ $GROONGA table_list\n"
+"$ $GROONGA column_list --table Store\n"
+"$ $GROONGA select --table Store --match_columns name --query ave --limit 5 --o"
+"utput_columns _key,name\n"
+"~~~"
+msgstr ""
+
+msgid ""
+"However, currently these features of the `groonga` command are not supported y"
+"et:"
+msgstr "ただし、現在の所`groonga`コマンドの以下の機能にはまだ対応していません:"
+
+msgid ""
+" * Executing multiple commands via the standard input.\n"
+" * `load` command with values given as separate lines following to main comman"
+"d line arguments.\n"
+" * Features not supported by Droonga itself."
+msgstr ""
+" * 標準入力経由での複数コマンドの実行\n"
+" * コマンドライン引数の後続行によって与えられる`load`コマンドのための値\n"
+" * Droongaが対応していないGroongaの機能"
+
+msgid "## Parameters {#parameters}"
+msgstr "## パラメータ {#parameters}"
+
+msgid ""
+"Groonga like command line arguments and following Droonga specific options are"
+" available."
+msgstr "Groonga風のコマンドライン引数と以下のDroonga固有のオプションが利用できます。"
+
+msgid ""
+"`--pretty`\n"
+": Output result as a pretty printed JSON."
+msgstr ""
+"`--pretty`\n"
+": 結果をpretty print形式のJSONで出力します。"
+
+msgid ""
+"`--host=NAME`\n"
+": Host name of the engine node.\n"
+"  A guessed host name of the computer you are running the command, by default."
+msgstr ""
+"`--host=NAME`\n"
+": メッセージの送信先となるEngineノードのホスト名。\n"
+"  既定値は、コマンドを実行しているコンピュータ自身の推測されたホスト名です。"
+
+msgid ""
+"`--port=PORT`\n"
+": Port number to communicate with the engine.\n"
+"  `10031` by default."
+msgstr ""
+"`--port=PORT`\n"
+": Engineノードとの通信に使うポート番号。\n"
+"  既定値は`10031`です。"
+
+msgid ""
+"`--tag=TAG`\n"
+": Tag name to communicate with the engine.\n"
+"  `droonga` by default."
+msgstr ""
+"`--tag=TAG`\n"
+": Engineノードとの通信に使うタグ名。\n"
+"  既定値は`droonga`です。"
+
+msgid ""
+"`--dataset=NAME`\n"
+": Dataset name for the sending message.\n"
+"  `Default` by default."
+msgstr ""
+"`--dataset=NAME`\n"
+": メッセージの送信先データセット名。\n"
+"  既定値は`Default`です。"
+
+msgid ""
+"`--receiver-host=NAME`\n"
+": Host name of the computer you are running this command.\n"
+"  A guessed host name of the computer, by default."
+msgstr ""
+"`--receiver-host=NAME`\n"
+": このコマンドを実行しているコンピュータのホスト名。\n"
+"  既定値は、そのコンピュータのホスト名として推測される名前です。"
+
+msgid ""
+"`--target-role=ROLE`\n"
+": Role of engine nodes which should process the message.\n"
+"  Possible values:"
+msgstr ""
+"`--target-role=ROLE`\n"
+": メッセージを処理できるEngineノードのロール。\n"
+"  以下のいずれかを指定します:"
+
+msgid ""
+"  * `service-provider`:\n"
+"    The message is processed by service provider nodes in the cluster.\n"
+"    For absorb-source nodes and absrob-destination nodes, the message will be "
+"dispatched later.\n"
+"  * `absorb-source`:\n"
+"    The message is processed by absorb-source nodes in the cluster.\n"
+"    For service provider nodes and absrob-destination nodes, the message is ne"
+"ver dispatched.\n"
+"  * `absorb-destination`:\n"
+"    The message is processed by absorb-destination nodes in the cluster.\n"
+"    For service provider nodes and absrob-source nodes, the message is never d"
+"ispatched.\n"
+"  * `any`:\n"
+"    The message is always processed by the node specified via the option `--ho"
+"st`."
+msgstr ""
+"  * `service-provider`:\n"
+"    メッセージは、クラスタ内でサービスを提供中のノードで処理されます。\n"
+"    データ抽出操作に関わるノードには、後から遅れてメッセージが伝搬します。\n"
+"  * `absorb-source`:\n"
+"    メッセージは、クラスタへのノード追加操作におけるデータコピー元となっているノードで処理されます。\n"
+"    サービスを提供中のノード、並びにデータコピー先となっているノードへは、メッセージは伝搬しません。\n"
+"  * `absorb-destination`:\n"
+"    メッセージは、クラスタへのノード追加操作におけるデータコピー先となっているノードで処理されます。\n"
+"    サービスを提供中のノード、並びにデータコピー元となっているノードへは、メッセージは伝搬しません。\n"
+"  * `any`:\n"
+"    メッセージは、`--host`で指定されたノードで処理されます。"
+
+msgid "  `any` by default."
+msgstr "  既定値は`any`です。"
+
+msgid ""
+"`--timeout=SECONDS`\n"
+": Time to terminate unresponsive connections, in seconds.\n"
+"  `3` by default."
+msgstr ""
+"`--timeout=SECONDS`\n"
+": 応答がない接続を打ち切るまでの待ち時間(単位:秒)です。\n"
+"  既定値は`3`です。"
+
+msgid ""
+"`-h`, `--help`\n"
+": Shows the usage of the command."
+msgstr ""
+"`-h`, `--help`\n"
+": コマンドの使い方の説明を表示します。"
+
+msgid "## How to install {#install}"
+msgstr "## インストール方法 {#install}"
+
+msgid "This is installed as a part of a rubygems package `droonga-client`."
+msgstr "このコマンドは、Rubygemsのパッケージ`droonga-client`の一部としてインストールされます。"
+
+msgid ""
+"~~~\n"
+"# gem install droonga-client\n"
+"~~~"
+msgstr ""

  Added: ja/reference/1.1.0/command-line-tools/droonga-groonga/index.md (+170 -0) 100644
===================================================================
--- /dev/null
+++ ja/reference/1.1.0/command-line-tools/droonga-groonga/index.md    2015-05-07 21:36:19 +0900 (5df1d52)
@@ -0,0 +1,170 @@
+---
+title: droonga-groonga
+layout: ja
+---
+
+{% comment %}
+##############################################
+  THIS FILE IS AUTOMATICALLY GENERATED FROM
+  "_po/ja/reference/1.1.0/command-line-tools/droonga-groonga/index.po"
+  DO NOT EDIT THIS FILE MANUALLY!
+##############################################
+{% endcomment %}
+
+
+* TOC
+{:toc}
+
+## 概要 {#abstract}
+
+`droonga-groonga`は、Droongaクラスタに対してコマンドラインインターフェース経由でGroongaサーバのように通信する機能を提供します。
+
+例えば、`192.168.100.50`というDroonga Engineノードがあり、同一ネットワークセグメント内のコンピュータ`192.168.100.10`にログインしている場合、全てのテーブルの一覧を出力するコマンド列は以下のようになります:
+
+~~~
+(on 192.168.100.10)
+$ droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.10 --pretty \
+    table_list
+[
+  [
+    0,
+    1431000097.1314175,
+    0.00024175643920898438
+  ],
+  [
+    [
+      [
+        "id",
+        "UInt32"
+      ],
+      [
+        "name",
+        "ShortText"
+  ...
+  ]
+]
+~~~
+
+このコマンドは、Groonga互換コマンドのメッセージを[`droonga-request`](../droonga-request/)を用いて送信する操作を簡単に行う物です。
+上記コマンド列によってもたらされる結果は、以下のコマンド列の結果と実質的に同一です:
+
+~~~
+(on 192.168.100.10)
+$ echo '{"type":"table_list"}' |
+    droonga-request --report-request --host 192.168.100.50 --receiver-host 192.168.100.10
+Request: {
+  "type": "table_list",
+  "id": "1431000097.1242323",
+  "date": "2015-05-07T12:01:37.124254Z",
+  "dataset": "Default"
+}
+Elapsed time: 0.011710191
+{
+  "inReplyTo": "1431000097.1242323",
+  "statusCode": 200,
+  "type": "table_list.result",
+  "body": [
+    [
+      0,
+      1431000097.1314175,
+      0.00024175643920898438
+    ],
+    [
+      [
+        [
+          "id",
+          "UInt32"
+        ],
+        [
+          "name",
+          "ShortText"
+    ...
+    ]
+  ]
+}
+~~~
+
+[Groonga互換コマンドのリファレンス](../../commands/)、および[Groongaのリファレンスマニュアル](http://groonga.org/ja/docs/reference/command.html)も併せて参照して下さい。
+
+## `groonga`コマンドとの互換性 {#compatibility}
+
+このコマンドは[`groonga`コマンドのクライアントモードおよびスタンドアロンモード](http://groonga.org/ja/docs/reference/executables/groonga.html)のように動作するよう設計されています。
+このコマンドに与えられた、Droonga固有のオプションを除いた残りの全てのコマンドライン引数は、`groonga`コマンドのコマンドライン引数と同様に動作します。
+例:
+
+~~~
+(on 192.168.100.10)
+$ GROONGA="droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.10 --pretty "
+$ $GROONGA table_list
+$ $GROONGA column_list --table Store
+$ $GROONGA select --table Store --match_columns name --query ave --limit 5 --output_columns _key,name
+~~~
+
+ただし、現在の所`groonga`コマンドの以下の機能にはまだ対応していません:
+
+ * 標準入力経由での複数コマンドの実行
+ * コマンドライン引数の後続行によって与えられる`load`コマンドのための値
+ * Droongaが対応していないGroongaの機能
+
+
+## パラメータ {#parameters}
+
+Groonga風のコマンドライン引数と以下のDroonga固有のオプションが利用できます。
+
+`--pretty`
+: 結果をpretty print形式のJSONで出力します。
+
+`--host=NAME`
+: メッセージの送信先となるEngineノードのホスト名。
+  既定値は、コマンドを実行しているコンピュータ自身の推測されたホスト名です。
+
+`--port=PORT`
+: Engineノードとの通信に使うポート番号。
+  既定値は`10031`です。
+
+`--tag=TAG`
+: Engineノードとの通信に使うタグ名。
+  既定値は`droonga`です。
+
+`--dataset=NAME`
+: メッセージの送信先データセット名。
+  既定値は`Default`です。
+
+`--receiver-host=NAME`
+: このコマンドを実行しているコンピュータのホスト名。
+  既定値は、そのコンピュータのホスト名として推測される名前です。
+
+`--target-role=ROLE`
+: メッセージを処理できるEngineノードのロール。
+  以下のいずれかを指定します:
+  
+  * `service-provider`:
+    メッセージは、クラスタ内でサービスを提供中のノードで処理されます。
+    データ抽出操作に関わるノードには、後から遅れてメッセージが伝搬します。
+  * `absorb-source`:
+    メッセージは、クラスタへのノード追加操作におけるデータコピー元となっているノードで処理されます。
+    サービスを提供中のノード、並びにデータコピー先となっているノードへは、メッセージは伝搬しません。
+  * `absorb-destination`:
+    メッセージは、クラスタへのノード追加操作におけるデータコピー先となっているノードで処理されます。
+    サービスを提供中のノード、並びにデータコピー元となっているノードへは、メッセージは伝搬しません。
+  * `any`:
+    メッセージは、`--host`で指定されたノードで処理されます。
+  
+  既定値は`any`です。
+
+`--timeout=SECONDS`
+: 応答がない接続を打ち切るまでの待ち時間(単位:秒)です。
+  既定値は`3`です。
+
+`-h`, `--help`
+: コマンドの使い方の説明を表示します。
+
+
+## インストール方法 {#install}
+
+このコマンドは、Rubygemsのパッケージ`droonga-client`の一部としてインストールされます。
+
+~~~
+# gem install droonga-client
+~~~
+

  Added: ja/reference/1.1.1/command-line-tools/droonga-groonga/index.md (+170 -0) 100644
===================================================================
--- /dev/null
+++ ja/reference/1.1.1/command-line-tools/droonga-groonga/index.md    2015-05-07 21:36:19 +0900 (db280c2)
@@ -0,0 +1,170 @@
+---
+title: droonga-groonga
+layout: ja
+---
+
+{% comment %}
+##############################################
+  THIS FILE IS AUTOMATICALLY GENERATED FROM
+  "_po/ja/reference/1.1.1/command-line-tools/droonga-groonga/index.po"
+  DO NOT EDIT THIS FILE MANUALLY!
+##############################################
+{% endcomment %}
+
+
+* TOC
+{:toc}
+
+## 概要 {#abstract}
+
+`droonga-groonga`は、Droongaクラスタに対してコマンドラインインターフェース経由でGroongaサーバのように通信する機能を提供します。
+
+例えば、`192.168.100.50`というDroonga Engineノードがあり、同一ネットワークセグメント内のコンピュータ`192.168.100.10`にログインしている場合、全てのテーブルの一覧を出力するコマンド列は以下のようになります:
+
+~~~
+(on 192.168.100.10)
+$ droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.10 --pretty \
+    table_list
+[
+  [
+    0,
+    1431000097.1314175,
+    0.00024175643920898438
+  ],
+  [
+    [
+      [
+        "id",
+        "UInt32"
+      ],
+      [
+        "name",
+        "ShortText"
+  ...
+  ]
+]
+~~~
+
+このコマンドは、Groonga互換コマンドのメッセージを[`droonga-request`](../droonga-request/)を用いて送信する操作を簡単に行う物です。
+上記コマンド列によってもたらされる結果は、以下のコマンド列の結果と実質的に同一です:
+
+~~~
+(on 192.168.100.10)
+$ echo '{"type":"table_list"}' |
+    droonga-request --report-request --host 192.168.100.50 --receiver-host 192.168.100.10
+Request: {
+  "type": "table_list",
+  "id": "1431000097.1242323",
+  "date": "2015-05-07T12:01:37.124254Z",
+  "dataset": "Default"
+}
+Elapsed time: 0.011710191
+{
+  "inReplyTo": "1431000097.1242323",
+  "statusCode": 200,
+  "type": "table_list.result",
+  "body": [
+    [
+      0,
+      1431000097.1314175,
+      0.00024175643920898438
+    ],
+    [
+      [
+        [
+          "id",
+          "UInt32"
+        ],
+        [
+          "name",
+          "ShortText"
+    ...
+    ]
+  ]
+}
+~~~
+
+[Groonga互換コマンドのリファレンス](../../commands/)、および[Groongaのリファレンスマニュアル](http://groonga.org/ja/docs/reference/command.html)も併せて参照して下さい。
+
+## `groonga`コマンドとの互換性 {#compatibility}
+
+このコマンドは[`groonga`コマンドのクライアントモードおよびスタンドアロンモード](http://groonga.org/ja/docs/reference/executables/groonga.html)のように動作するよう設計されています。
+このコマンドに与えられた、Droonga固有のオプションを除いた残りの全てのコマンドライン引数は、`groonga`コマンドのコマンドライン引数と同様に動作します。
+例:
+
+~~~
+(on 192.168.100.10)
+$ GROONGA="droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.10 --pretty "
+$ $GROONGA table_list
+$ $GROONGA column_list --table Store
+$ $GROONGA select --table Store --match_columns name --query ave --limit 5 --output_columns _key,name
+~~~
+
+ただし、現在の所`groonga`コマンドの以下の機能にはまだ対応していません:
+
+ * 標準入力経由での複数コマンドの実行
+ * コマンドライン引数の後続行によって与えられる`load`コマンドのための値
+ * Droongaが対応していないGroongaの機能
+
+
+## パラメータ {#parameters}
+
+Groonga風のコマンドライン引数と以下のDroonga固有のオプションが利用できます。
+
+`--pretty`
+: 結果をpretty print形式のJSONで出力します。
+
+`--host=NAME`
+: メッセージの送信先となるEngineノードのホスト名。
+  既定値は、コマンドを実行しているコンピュータ自身の推測されたホスト名です。
+
+`--port=PORT`
+: Engineノードとの通信に使うポート番号。
+  既定値は`10031`です。
+
+`--tag=TAG`
+: Engineノードとの通信に使うタグ名。
+  既定値は`droonga`です。
+
+`--dataset=NAME`
+: メッセージの送信先データセット名。
+  既定値は`Default`です。
+
+`--receiver-host=NAME`
+: このコマンドを実行しているコンピュータのホスト名。
+  既定値は、そのコンピュータのホスト名として推測される名前です。
+
+`--target-role=ROLE`
+: メッセージを処理できるEngineノードのロール。
+  以下のいずれかを指定します:
+  
+  * `service-provider`:
+    メッセージは、クラスタ内でサービスを提供中のノードで処理されます。
+    データ抽出操作に関わるノードには、後から遅れてメッセージが伝搬します。
+  * `absorb-source`:
+    メッセージは、クラスタへのノード追加操作におけるデータコピー元となっているノードで処理されます。
+    サービスを提供中のノード、並びにデータコピー先となっているノードへは、メッセージは伝搬しません。
+  * `absorb-destination`:
+    メッセージは、クラスタへのノード追加操作におけるデータコピー先となっているノードで処理されます。
+    サービスを提供中のノード、並びにデータコピー元となっているノードへは、メッセージは伝搬しません。
+  * `any`:
+    メッセージは、`--host`で指定されたノードで処理されます。
+  
+  既定値は`any`です。
+
+`--timeout=SECONDS`
+: 応答がない接続を打ち切るまでの待ち時間(単位:秒)です。
+  既定値は`3`です。
+
+`-h`, `--help`
+: コマンドの使い方の説明を表示します。
+
+
+## インストール方法 {#install}
+
+このコマンドは、Rubygemsのパッケージ`droonga-client`の一部としてインストールされます。
+
+~~~
+# gem install droonga-client
+~~~
+

  Added: reference/1.1.0/command-line-tools/droonga-groonga/index.md (+161 -0) 100644
===================================================================
--- /dev/null
+++ reference/1.1.0/command-line-tools/droonga-groonga/index.md    2015-05-07 21:36:19 +0900 (d1f5635)
@@ -0,0 +1,161 @@
+---
+title: droonga-groonga
+layout: en
+---
+
+* TOC
+{:toc}
+
+## Abstract {#abstract}
+
+`droonga-groonga` provides ability to communicate a Droonga cluster like a Groonga server, via the command line interface.
+
+For example, if there is a Droonga Engine node `192.168.100.50` and you are logged in to a computer `192.168.100.10` in the same network segment, the command line to list all tables is:
+
+~~~
+(on 192.168.100.10)
+$ droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.10 --pretty \
+    table_list
+[
+  [
+    0,
+    1431000097.1314175,
+    0.00024175643920898438
+  ],
+  [
+    [
+      [
+        "id",
+        "UInt32"
+      ],
+      [
+        "name",
+        "ShortText"
+  ...
+  ]
+]
+~~~
+
+This command is just a shorthand of [`droonga-request`](../droonga-request/) with a message of Groonga compatible commands.
+The result produced by the following command line almost equals to the one of above:
+
+~~~
+(on 192.168.100.10)
+$ echo '{"type":"table_list"}' |
+    droonga-request --report-request --host 192.168.100.50 --receiver-host 192.168.100.10
+Request: {
+  "type": "table_list",
+  "id": "1431000097.1242323",
+  "date": "2015-05-07T12:01:37.124254Z",
+  "dataset": "Default"
+}
+Elapsed time: 0.011710191
+{
+  "inReplyTo": "1431000097.1242323",
+  "statusCode": 200,
+  "type": "table_list.result",
+  "body": [
+    [
+      0,
+      1431000097.1314175,
+      0.00024175643920898438
+    ],
+    [
+      [
+        [
+          "id",
+          "UInt32"
+        ],
+        [
+          "name",
+          "ShortText"
+    ...
+    ]
+  ]
+}
+~~~
+
+See also [references of Groonga compatible command](../../commands/) and [Groonga's reference manual](http://groonga.org/docs/reference/command.html).
+
+## Compatibility to the `groonga` command {#compatibility}
+
+This command is designed to work like ["client mode" and "standalone mode" of the `groonga` command](http://groonga.org/docs/reference/executables/groonga.html).
+All command line arguments given to this command except Droonga specific options will work like command line arguments for the `groonga` command.
+For example:
+
+~~~
+(on 192.168.100.10)
+$ GROONGA="droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.10 --pretty "
+$ $GROONGA table_list
+$ $GROONGA column_list --table Store
+$ $GROONGA select --table Store --match_columns name --query ave --limit 5 --output_columns _key,name
+~~~
+
+However, currently these features of the `groonga` command are not supported yet:
+
+ * Executing multiple commands via the standard input.
+ * `load` command with values given as separate lines following to main command line arguments.
+ * Features not supported by Droonga itself.
+
+
+## Parameters {#parameters}
+
+Groonga like command line arguments and following Droonga specific options are available.
+
+`--pretty`
+: Output result as a pretty printed JSON.
+
+`--host=NAME`
+: Host name of the engine node.
+  A guessed host name of the computer you are running the command, by default.
+
+`--port=PORT`
+: Port number to communicate with the engine.
+  `10031` by default.
+
+`--tag=TAG`
+: Tag name to communicate with the engine.
+  `droonga` by default.
+
+`--dataset=NAME`
+: Dataset name for the sending message.
+  `Default` by default.
+
+`--receiver-host=NAME`
+: Host name of the computer you are running this command.
+  A guessed host name of the computer, by default.
+
+`--target-role=ROLE`
+: Role of engine nodes which should process the message.
+  Possible values:
+  
+  * `service-provider`:
+    The message is processed by service provider nodes in the cluster.
+    For absorb-source nodes and absrob-destination nodes, the message will be dispatched later.
+  * `absorb-source`:
+    The message is processed by absorb-source nodes in the cluster.
+    For service provider nodes and absrob-destination nodes, the message is never dispatched.
+  * `absorb-destination`:
+    The message is processed by absorb-destination nodes in the cluster.
+    For service provider nodes and absrob-source nodes, the message is never dispatched.
+  * `any`:
+    The message is always processed by the node specified via the option `--host`.
+  
+  `any` by default.
+
+`--timeout=SECONDS`
+: Time to terminate unresponsive connections, in seconds.
+  `3` by default.
+
+`-h`, `--help`
+: Shows the usage of the command.
+
+
+## How to install {#install}
+
+This is installed as a part of a rubygems package `droonga-client`.
+
+~~~
+# gem install droonga-client
+~~~
+

  Added: reference/1.1.1/command-line-tools/droonga-groonga/index.md (+161 -0) 100644
===================================================================
--- /dev/null
+++ reference/1.1.1/command-line-tools/droonga-groonga/index.md    2015-05-07 21:36:19 +0900 (d1f5635)
@@ -0,0 +1,161 @@
+---
+title: droonga-groonga
+layout: en
+---
+
+* TOC
+{:toc}
+
+## Abstract {#abstract}
+
+`droonga-groonga` provides ability to communicate a Droonga cluster like a Groonga server, via the command line interface.
+
+For example, if there is a Droonga Engine node `192.168.100.50` and you are logged in to a computer `192.168.100.10` in the same network segment, the command line to list all tables is:
+
+~~~
+(on 192.168.100.10)
+$ droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.10 --pretty \
+    table_list
+[
+  [
+    0,
+    1431000097.1314175,
+    0.00024175643920898438
+  ],
+  [
+    [
+      [
+        "id",
+        "UInt32"
+      ],
+      [
+        "name",
+        "ShortText"
+  ...
+  ]
+]
+~~~
+
+This command is just a shorthand of [`droonga-request`](../droonga-request/) with a message of Groonga compatible commands.
+The result produced by the following command line almost equals to the one of above:
+
+~~~
+(on 192.168.100.10)
+$ echo '{"type":"table_list"}' |
+    droonga-request --report-request --host 192.168.100.50 --receiver-host 192.168.100.10
+Request: {
+  "type": "table_list",
+  "id": "1431000097.1242323",
+  "date": "2015-05-07T12:01:37.124254Z",
+  "dataset": "Default"
+}
+Elapsed time: 0.011710191
+{
+  "inReplyTo": "1431000097.1242323",
+  "statusCode": 200,
+  "type": "table_list.result",
+  "body": [
+    [
+      0,
+      1431000097.1314175,
+      0.00024175643920898438
+    ],
+    [
+      [
+        [
+          "id",
+          "UInt32"
+        ],
+        [
+          "name",
+          "ShortText"
+    ...
+    ]
+  ]
+}
+~~~
+
+See also [references of Groonga compatible command](../../commands/) and [Groonga's reference manual](http://groonga.org/docs/reference/command.html).
+
+## Compatibility to the `groonga` command {#compatibility}
+
+This command is designed to work like ["client mode" and "standalone mode" of the `groonga` command](http://groonga.org/docs/reference/executables/groonga.html).
+All command line arguments given to this command except Droonga specific options will work like command line arguments for the `groonga` command.
+For example:
+
+~~~
+(on 192.168.100.10)
+$ GROONGA="droonga-groonga --host 192.168.100.50 --receiver-host 192.168.100.10 --pretty "
+$ $GROONGA table_list
+$ $GROONGA column_list --table Store
+$ $GROONGA select --table Store --match_columns name --query ave --limit 5 --output_columns _key,name
+~~~
+
+However, currently these features of the `groonga` command are not supported yet:
+
+ * Executing multiple commands via the standard input.
+ * `load` command with values given as separate lines following to main command line arguments.
+ * Features not supported by Droonga itself.
+
+
+## Parameters {#parameters}
+
+Groonga like command line arguments and following Droonga specific options are available.
+
+`--pretty`
+: Output result as a pretty printed JSON.
+
+`--host=NAME`
+: Host name of the engine node.
+  A guessed host name of the computer you are running the command, by default.
+
+`--port=PORT`
+: Port number to communicate with the engine.
+  `10031` by default.
+
+`--tag=TAG`
+: Tag name to communicate with the engine.
+  `droonga` by default.
+
+`--dataset=NAME`
+: Dataset name for the sending message.
+  `Default` by default.
+
+`--receiver-host=NAME`
+: Host name of the computer you are running this command.
+  A guessed host name of the computer, by default.
+
+`--target-role=ROLE`
+: Role of engine nodes which should process the message.
+  Possible values:
+  
+  * `service-provider`:
+    The message is processed by service provider nodes in the cluster.
+    For absorb-source nodes and absrob-destination nodes, the message will be dispatched later.
+  * `absorb-source`:
+    The message is processed by absorb-source nodes in the cluster.
+    For service provider nodes and absrob-destination nodes, the message is never dispatched.
+  * `absorb-destination`:
+    The message is processed by absorb-destination nodes in the cluster.
+    For service provider nodes and absrob-source nodes, the message is never dispatched.
+  * `any`:
+    The message is always processed by the node specified via the option `--host`.
+  
+  `any` by default.
+
+`--timeout=SECONDS`
+: Time to terminate unresponsive connections, in seconds.
+  `3` by default.
+
+`-h`, `--help`
+: Shows the usage of the command.
+
+
+## How to install {#install}
+
+This is installed as a part of a rubygems package `droonga-client`.
+
+~~~
+# gem install droonga-client
+~~~
+
-------------- next part --------------
HTML����������������������������...
Download 



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