YUKI Hiroshi
null+****@clear*****
Wed May 28 10:08:16 JST 2014
YUKI Hiroshi 2014-05-28 10:08:16 +0900 (Wed, 28 May 2014) New Revision: 92e95f95a9f3867c4cd09c95c0906a4a89b536b6 https://github.com/droonga/droonga.org/commit/92e95f95a9f3867c4cd09c95c0906a4a89b536b6 Message: Rewrite dscriptions about the value "*" Modified files: _po/ja/reference/1.0.3/commands/search/index.po ja/reference/1.0.3/commands/search/index.md reference/1.0.3/commands/search/index.md Modified: _po/ja/reference/1.0.3/commands/search/index.po (+17 -5) =================================================================== --- _po/ja/reference/1.0.3/commands/search/index.po 2014-05-28 09:49:34 +0900 (d37e00a) +++ _po/ja/reference/1.0.3/commands/search/index.po 2014-05-28 10:08:16 +0900 (ab869c6) @@ -1654,12 +1654,8 @@ msgstr "" msgid "" " 1. An array of column definitions.\n" -" 2. A hash of column definitions.\n" -" 3. A special pattern: . This exports all columns, as is." +" 2. A hash of column definitions." msgstr "" -" 1. カラムの定義の配列。\n" -" 2. カラムの定義を値としたハッシュ。\n" -" 3. 特殊なパターン:`[\"*\"]` これはすべてのカラムをそのままの形で出力します。" msgid " Each column can be defined in one of following styles:" msgstr " 各カラムは以下の形式のいずれかで指定します。" @@ -1738,6 +1734,22 @@ msgid "" msgstr "" msgid "" +" In this case, you can use a special column name `\"*\"` which means \"all colum" +"ns except `_key`\":" +msgstr " この場合、「`_key`以外のすべてのカラム」を意味する特別なカラム名 `\"*\"`を使用できます。" + +msgid "" +" * `[\"*\"]` exports all columns except `_key`, as is.\n" +" * `[\"_key\", \"*\"]` exports exports all columns as is, with preceding `_key`" +".\n" +" * `[\"*\", \"_key\"]` exports exports all columns as is, with following `_key`" +"." +msgstr "" +" * `[\"*\"]` と指定すると、 `_key` 以外のすべてのカラムがそのままの形で出力されます。\n" +" * `[\"_key\", \"*\"]` と指定すると、 `_key` に続いてすべてのカラムがそのままの形で出力されます。\n" +" * `[\"*\", \"_key\"]` と指定すると、 すべてのカラムがそのままの形で出力された後に `_key` が出力されます。" + +msgid "" " A hash of column definitions can contain any type definition described above" " except `label` of hashes, because keys of the hash means `label` of each colu" "mn, like:" Modified: ja/reference/1.0.3/commands/search/index.md (+6 -1) =================================================================== --- ja/reference/1.0.3/commands/search/index.md 2014-05-28 09:49:34 +0900 (6e1d74a) +++ ja/reference/1.0.3/commands/search/index.md 2014-05-28 10:08:16 +0900 (b8dc49c) @@ -998,7 +998,6 @@ Droongaはそのカラムの値が同じであるレコードを集約し、カ 1. An array of column definitions. 2. A hash of column definitions. - 3. A special pattern: `["*"]`. This exports all columns, as is. 各カラムは以下の形式のいずれかで指定します。 @@ -1037,6 +1036,12 @@ Droongaはそのカラムの値が同じであるレコードを集約し、カ { "label" : "realName", "source" : "name" } ] + この場合、「`_key`以外のすべてのカラム」を意味する特別なカラム名 `"*"`を使用できます。 + + * `["*"]` と指定すると、 `_key` 以外のすべてのカラムがそのままの形で出力されます。 + * `["_key", "*"]` と指定すると、 `_key` に続いてすべてのカラムがそのままの形で出力されます。 + * `["*", "_key"]` と指定すると、 すべてのカラムがそのままの形で出力された後に `_key` が出力されます。 + カラムの定義を値としたハッシュでは、カラムの出力名をキー、上記の形式で示されたカラムの定義を値として、カラムの定義を0個以上含めることができます。例: { Modified: reference/1.0.3/commands/search/index.md (+6 -1) =================================================================== --- reference/1.0.3/commands/search/index.md 2014-05-28 09:49:34 +0900 (358c18b) +++ reference/1.0.3/commands/search/index.md 2014-05-28 10:08:16 +0900 (71c6547) @@ -980,7 +980,6 @@ An output definition is given as a hash like: 1. An array of column definitions. 2. A hash of column definitions. - 3. A special pattern: `["*"]`. This exports all columns, as is. Each column can be defined in one of following styles: @@ -1019,6 +1018,12 @@ An output definition is given as a hash like: { "label" : "realName", "source" : "name" } ] + In this case, you can use a special column name `"*"` which means "all columns except `_key`": + + * `["*"]` exports all columns except `_key`, as is. + * `["_key", "*"]` exports exports all columns as is, with preceding `_key`. + * `["*", "_key"]` exports exports all columns as is, with following `_key`. + A hash of column definitions can contain any type definition described above except `label` of hashes, because keys of the hash means `label` of each column, like: { -------------- next part -------------- HTML����������������������������... ダウンロード