Yoji Shidara
null+****@clear*****
Mon Feb 10 13:56:02 JST 2014
Yoji Shidara 2014-02-10 13:56:02 +0900 (Mon, 10 Feb 2014) New Revision: 447bfb2f71d05df1bd0236a7e06daad8eddd2179 https://github.com/droonga/droonga.org/commit/447bfb2f71d05df1bd0236a7e06daad8eddd2179 Message: ja: Follow upstream update Modified files: _po/ja/reference/catalog/index.po ja/reference/catalog/index.md Modified: _po/ja/reference/catalog/index.po (+20 -2) =================================================================== --- _po/ja/reference/catalog/index.po 2014-02-10 13:17:02 +0900 (22d65da) +++ _po/ja/reference/catalog/index.po 2014-02-10 13:56:02 +0900 (a54cc07) @@ -184,8 +184,25 @@ msgid "" "tables." msgstr "1つのパーティションは1つのGroongaデータベースに対応します。0個以上の物理テーブルを持ちます。" -msgid "Note: Handler plugins in Droonga Engine work on a partition." -msgstr "注意: Droongaエンジン内のハンドラープラグインは1つのパーティションの上で動作します。" +msgid "### Plugin" +msgstr "### パーティション" + +msgid "" +"Droonga Engine can be extended by writing plugin scripts.\n" +"In most cases, a series of plugins work cooperatively to\n" +"achieve required behaviors.\n" +"So, plugins are organized by behaviors.\n" +"Each behavior can be attached to datasets and/or tables by\n" +"adding \"plugins\" section to the corresponding entry in the catalog." +msgstr "" + +msgid "" +"More than one plugin can be assigned in a \"plugins\" section as an array.\n" +"The order in the array controls the execution order of plugins\n" +"when adapting messages.\n" +"When adapting an incoming message, plugins are applied in forward order\n" +"whereas those are applied in reverse order when adapting an outgoing message." +msgstr "" msgid "## Example" msgstr "## 例" @@ -226,6 +243,7 @@ msgid "" " \"datasets\": {\n" " \"Wiki\": {\n" " \"workers\": 4,\n" +" \"plugins\": [\"groonga\", \"crud\", \"search\"],\n" " \"number_of_replicas\": 2,\n" " \"number_of_partitions\": 2,\n" " \"partition_key\": \"_key\",\n" Modified: ja/reference/catalog/index.md (+16 -2) =================================================================== --- ja/reference/catalog/index.md 2014-02-10 13:17:02 +0900 (c186a12) +++ ja/reference/catalog/index.md 2014-02-10 13:56:02 +0900 (6a06f7b) @@ -79,11 +79,24 @@ Droongaエンジンは物理テーブル上にあるレコードを1つ以上の 1つのパーティションは1つのGroongaデータベースに対応します。0個以上の物理テーブルを持ちます。 -注意: Droongaエンジン内のハンドラープラグインは1つのパーティションの上で動作します。 +### パーティション + +Droonga Engine can be extended by writing plugin scripts. +In most cases, a series of plugins work cooperatively to +achieve required behaviors. +So, plugins are organized by behaviors. +Each behavior can be attached to datasets and/or tables by +adding "plugins" section to the corresponding entry in the catalog. + +More than one plugin can be assigned in a "plugins" section as an array. +The order in the array controls the execution order of plugins +when adapting messages. +When adapting an incoming message, plugins are applied in forward order +whereas those are applied in reverse order when adapting an outgoing message. ## 例 -Consider about the following case: +Consider the following case: * There are two farms. * All farms (Droonga Engine instances) works on the same fluentd. @@ -113,6 +126,7 @@ Here is a `catalog.json` for the above case: "datasets": { "Wiki": { "workers": 4, + "plugins": ["groonga", "crud", "search"], "number_of_replicas": 2, "number_of_partitions": 2, "partition_key": "_key", -------------- next part -------------- HTML����������������������������... 다운로드