Navigation Menu

Skip to content

Commit

Permalink
Merge pull request #18 from kenhys/update-v0.14-document
Browse files Browse the repository at this point in the history
Update v0.14 document

Patch by Kentaro Hayashi. Thanks!!!
  • Loading branch information
kou committed Apr 24, 2017
2 parents 8c4bb6b + 41df566 commit 6e47d34
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 6 deletions.
36 changes: 31 additions & 5 deletions doc/po/ja.po
Expand Up @@ -7,7 +7,7 @@ msgid ""
msgstr ""
"Project-Id-Version: fluent-plugin-groonga 1.0.1\n"
"Report-Msgid-Bugs-To: \n"
"PO-Revision-Date: 2016-03-28 18:22+0900\n"
"PO-Revision-Date: 2017-04-24 19:00+0900\n"
"Last-Translator: Kouhei Sutou <kou@clear-code.com>\n"
"Language-Team: Japanese\n"
"Language: ja\n"
Expand Down Expand Up @@ -341,8 +341,28 @@ msgstr ""
msgid "## The `groonga` input plugin"
msgstr "## `groonga` inputプラグイン"

msgid "Here are available parameters:"
msgstr "利用可能なパラメーターは以下の通りです。"
msgid ""
"The behavior of `groonga` input plugin is customized in `system`\n"
"directive and `source` directive parameters."
msgstr "`groonga` インプットプラグインは `system` ディレクティブと `source` ディレクティブでカスタマイズできます。"

msgid "Here is recommended parameter in `system` directive:"
msgstr "`system` ディレクティブの推奨設定は以下の通りです。:"

msgid ""
" * `workers`: It specifies the number of workers. The point of view\n"
" in performance, the recommended value is greater than 1 to process\n"
" requests in parallel."
msgstr " * `workers`: ワーカーの数を指定します。パフォーマンスの観点では、リクエストを並行処理するために1より大きな値を設定することをおすすめします。"

msgid " * recommended value: greater than 1."
msgstr " * 推奨値: 1より大きい値"

msgid " * default: `1`"
msgstr " * デフォルト:`1`"

msgid "Here are available parameters in `source` directive:"
msgstr "`source` ディレクティブで利用可能なパラメータは以下の通りです:"

msgid " * `protocol`: It specifies protocol for receiving Groonga commands."
msgstr " * `protocol`: Groongaコマンドを受信するときに使うプロトコルを指定します。"
Expand Down Expand Up @@ -380,6 +400,12 @@ msgstr " * `emit_commands`:TODO"
msgid "Here is an example:"
msgstr "以下は設定例です。"

msgid ""
" <system>\n"
" workers 2\n"
" </system>"
msgstr ""

msgid ""
" <source>\n"
" @type groonga\n"
Expand Down Expand Up @@ -1914,8 +1940,8 @@ msgstr ""
msgid "a new instance of ResponseHandler"
msgstr ""

# @return [Parser]
msgid "a new instance of Parser"
# @return [RequestParser]
msgid "a new instance of RequestParser"
msgstr ""

# @return [GroongaOutput]
Expand Down
19 changes: 18 additions & 1 deletion doc/text/configuration.md
Expand Up @@ -8,7 +8,20 @@ describes configuration parameters of them.

## The `groonga` input plugin

Here are available parameters:
The behavior of `groonga` input plugin is customized in `system`
directive and `source` directive parameters.

Here is recommended parameter in `system` directive:

* `workers`: It specifies the number of workers. The point of view
in performance, the recommended value is greater than 1 to process
requests in parallel.

* recommended value: greater than 1.

* default: `1`

Here are available parameters in `source` directive:

* `protocol`: It specifies protocol for receiving Groonga commands.

Expand Down Expand Up @@ -36,6 +49,10 @@ Here are available parameters:

Here is an example:

<system>
workers 2
</system>

<source>
@type groonga
protocol http
Expand Down

0 comments on commit 6e47d34

Please sign in to comment.