[Groonga-commit] droonga/droonga.org at 75daecb [gh-pages] Add reference for droonga-request (WIP)

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri May 1 19:07:02 JST 2015


YUKI Hiroshi	2015-05-01 19:07:02 +0900 (Fri, 01 May 2015)

  New Revision: 75daecb2a85a595ab3fe6b06187129eeb23b077e
  https://github.com/droonga/droonga.org/commit/75daecb2a85a595ab3fe6b06187129eeb23b077e

  Message:
    Add reference for droonga-request (WIP)

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

  Added: _po/ja/reference/1.1.1/command-line-tools/droonga-request/index.po (+135 -0) 100644
===================================================================
--- /dev/null
+++ _po/ja/reference/1.1.1/command-line-tools/droonga-request/index.po    2015-05-01 19:07:02 +0900 (071f314)
@@ -0,0 +1,135 @@
+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-request\n"
+"layout: en\n"
+"---"
+msgstr ""
+
+msgid ""
+"* TOC\n"
+"{:toc}"
+msgstr ""
+
+msgid "## Abstract {#abstract}"
+msgstr "## 概要 {#abstract}"
+
+msgid ""
+"`droonga-request` sends any message to a Droonga cluster and reports the respo"
+"nse."
+msgstr ""
+
+msgid ""
+"For example, if there is a Droonga 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 send a [`system.status`](../../commands/system/status/) command is:"
+msgstr ""
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ echo '{\"type\":\"system.status\"}' |\n"
+"    droonga-request --host 192.168.100.50 --receiver-host 192.168.100.10\n"
+"~~~"
+msgstr ""
+
+msgid ""
+"For the complete list of available commands, see also [the command reference]("
+"../../commands/)."
+msgstr ""
+
+msgid "## Usage {#usage}"
+msgstr "## 使い方 {#usage}"
+
+msgid "### How to give message for this command?"
+msgstr ""
+
+msgid ""
+"This command accepts messages to be sent via standard input or a file.\n"
+"As above, `echo`, `cat`, or any other command can be the source for this comma"
+"nd.\n"
+"For example, you'll be able to use [`drndump`](../drndump/)'s output as the so"
+"urce:"
+msgstr ""
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ drndump --host 192.168.100.50 --receiver-host 192.168.100.10 | \\\n"
+"    droonga-request --host 192.168.100.60 --receiver-host 192.168.100.10\n"
+"~~~"
+msgstr ""
+
+msgid ""
+"Another case, you can use a text file as the source.\n"
+"This command reads the file specified as an command line argument, like:"
+msgstr ""
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ cat /tmp/message\n"
+"{\"type\":\"system.status\"}\n"
+"$ droonga-request --host 192.168.100.60 --receiver-host 192.168.100.10 /tmp/me"
+"ssage\n"
+"~~~"
+msgstr ""
+
+msgid "### Sending multiple messages at once"
+msgstr ""
+
+msgid ""
+"This command can send multiple messages at once.\n"
+"To do it, you simply give multiple messages as the input, like:"
+msgstr ""
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ echo '{\"type\":\"system.status\"} {\"type\":\"system.statistics.object.count\",\"bod"
+"y\":{\"output\":[\"total\"]}}' |\n"
+"    droonga-request --host 192.168.100.50 --receiver-host 192.168.100.10\n"
+"~~~"
+msgstr ""
+
+msgid "Of course, you can include multiple messages to the source file like:"
+msgstr ""
+
+msgid ""
+"~~~\n"
+"(on 192.168.100.10)\n"
+"$ cat /tmp/messages\n"
+"{\"type\":\"system.status\"}\n"
+"{\"type\":\"system.statistics.object.count\",\n"
+" \"body\":{\"output\":[\"total\"]}}\n"
+"$ droonga-request --host 192.168.100.60 --receiver-host 192.168.100.10 /tmp/me"
+"ssages\n"
+"~~~"
+msgstr ""
+
+msgid "## Parameters {#parameters}"
+msgstr "## パラメータ {#parameters}"
+
+msgid "(TBD)"
+msgstr "(未稿)"
+
+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.1/command-line-tools/droonga-request/index.md (+93 -0) 100644
===================================================================
--- /dev/null
+++ ja/reference/1.1.1/command-line-tools/droonga-request/index.md    2015-05-01 19:07:02 +0900 (0230a19)
@@ -0,0 +1,93 @@
+---
+title: droonga-request
+layout: en
+---
+
+{% comment %}
+##############################################
+  THIS FILE IS AUTOMATICALLY GENERATED FROM
+  "_po/ja/reference/1.1.1/command-line-tools/droonga-request/index.po"
+  DO NOT EDIT THIS FILE MANUALLY!
+##############################################
+{% endcomment %}
+
+
+* TOC
+{:toc}
+
+## 概要 {#abstract}
+
+`droonga-request` sends any message to a Droonga cluster and reports the response.
+
+For example, if there is a Droonga 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 send a [`system.status`](../../commands/system/status/) command is:
+
+~~~
+(on 192.168.100.10)
+$ echo '{"type":"system.status"}' |
+    droonga-request --host 192.168.100.50 --receiver-host 192.168.100.10
+~~~
+
+For the complete list of available commands, see also [the command reference](../../commands/).
+
+## 使い方 {#usage}
+
+### How to give message for this command?
+
+This command accepts messages to be sent via standard input or a file.
+As above, `echo`, `cat`, or any other command can be the source for this command.
+For example, you'll be able to use [`drndump`](../drndump/)'s output as the source:
+
+~~~
+(on 192.168.100.10)
+$ drndump --host 192.168.100.50 --receiver-host 192.168.100.10 | \
+    droonga-request --host 192.168.100.60 --receiver-host 192.168.100.10
+~~~
+
+Another case, you can use a text file as the source.
+This command reads the file specified as an command line argument, like:
+
+~~~
+(on 192.168.100.10)
+$ cat /tmp/message
+{"type":"system.status"}
+$ droonga-request --host 192.168.100.60 --receiver-host 192.168.100.10 /tmp/message
+~~~
+
+### Sending multiple messages at once
+
+This command can send multiple messages at once.
+To do it, you simply give multiple messages as the input, like:
+
+~~~
+(on 192.168.100.10)
+$ echo '{"type":"system.status"} {"type":"system.statistics.object.count","body":{"output":["total"]}}' |
+    droonga-request --host 192.168.100.50 --receiver-host 192.168.100.10
+~~~
+
+Of course, you can include multiple messages to the source file like:
+
+~~~
+(on 192.168.100.10)
+$ cat /tmp/messages
+{"type":"system.status"}
+{"type":"system.statistics.object.count",
+ "body":{"output":["total"]}}
+$ droonga-request --host 192.168.100.60 --receiver-host 192.168.100.10 /tmp/messages
+~~~
+
+
+
+
+## パラメータ {#parameters}
+
+(未稿)
+
+
+## インストール方法 {#install}
+
+このコマンドは、Rubygemsのパッケージ`droonga-client`の一部としてインストールされます。
+
+~~~
+# gem install droonga-client
+~~~
+

  Added: reference/1.1.1/command-line-tools/droonga-request/index.md (+84 -0) 100644
===================================================================
--- /dev/null
+++ reference/1.1.1/command-line-tools/droonga-request/index.md    2015-05-01 19:07:02 +0900 (7c56aa2)
@@ -0,0 +1,84 @@
+---
+title: droonga-request
+layout: en
+---
+
+* TOC
+{:toc}
+
+## Abstract {#abstract}
+
+`droonga-request` sends any message to a Droonga cluster and reports the response.
+
+For example, if there is a Droonga 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 send a [`system.status`](../../commands/system/status/) command is:
+
+~~~
+(on 192.168.100.10)
+$ echo '{"type":"system.status"}' |
+    droonga-request --host 192.168.100.50 --receiver-host 192.168.100.10
+~~~
+
+For the complete list of available commands, see also [the command reference](../../commands/).
+
+## Usage {#usage}
+
+### How to give message for this command?
+
+This command accepts messages to be sent via standard input or a file.
+As above, `echo`, `cat`, or any other command can be the source for this command.
+For example, you'll be able to use [`drndump`](../drndump/)'s output as the source:
+
+~~~
+(on 192.168.100.10)
+$ drndump --host 192.168.100.50 --receiver-host 192.168.100.10 | \
+    droonga-request --host 192.168.100.60 --receiver-host 192.168.100.10
+~~~
+
+Another case, you can use a text file as the source.
+This command reads the file specified as an command line argument, like:
+
+~~~
+(on 192.168.100.10)
+$ cat /tmp/message
+{"type":"system.status"}
+$ droonga-request --host 192.168.100.60 --receiver-host 192.168.100.10 /tmp/message
+~~~
+
+### Sending multiple messages at once
+
+This command can send multiple messages at once.
+To do it, you simply give multiple messages as the input, like:
+
+~~~
+(on 192.168.100.10)
+$ echo '{"type":"system.status"} {"type":"system.statistics.object.count","body":{"output":["total"]}}' |
+    droonga-request --host 192.168.100.50 --receiver-host 192.168.100.10
+~~~
+
+Of course, you can include multiple messages to the source file like:
+
+~~~
+(on 192.168.100.10)
+$ cat /tmp/messages
+{"type":"system.status"}
+{"type":"system.statistics.object.count",
+ "body":{"output":["total"]}}
+$ droonga-request --host 192.168.100.60 --receiver-host 192.168.100.10 /tmp/messages
+~~~
+
+
+
+
+## Parameters {#parameters}
+
+(TBD)
+
+
+## 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