Kouhei Sutou
null+****@clear*****
Wed Nov 8 10:10:08 JST 2017
Kouhei Sutou 2017-11-08 10:10:08 +0900 (Wed, 08 Nov 2017) New Revision: 0b51155898dc9a8cecc264b499eaa54414b4b90a https://github.com/groonga/groonga/commit/0b51155898dc9a8cecc264b499eaa54414b4b90a Message: doc logical_count: add named parameters information Modified files: doc/locale/ja/LC_MESSAGES/reference.po doc/source/reference/commands/logical_count.rst Modified: doc/locale/ja/LC_MESSAGES/reference.po (+80 -77) =================================================================== --- doc/locale/ja/LC_MESSAGES/reference.po 2017-11-07 16:48:30 +0900 (b0d42a314) +++ doc/locale/ja/LC_MESSAGES/reference.po 2017-11-08 10:10:08 +0900 (65f21a8ee) @@ -7058,6 +7058,86 @@ msgstr "" "能です::" msgid "" +"There are some parameters that can be only used as named parameters. You " +"can't use these parameters as ordered parameters. You must specify parameter " +"name." +msgstr "" +"いくつか名前付き引数としてしか使えない引数があります。これらの引数を「○番目の" +"引数」として使うことはできません。必ず名前を指定する必要があります。" + +msgid "Here are parameters that can be only used as named parameters:" +msgstr "名前付き引数としてしか使えない引数は次の通りです。" + +msgid "``cache=no``" +msgstr "" + +msgid "This command has the following named parameters for dynamic columns:" +msgstr "以下の名前付き引数で動的カラム機能を使うことができます。" + +msgid "``columns[${NAME}].stage=null``" +msgstr "" + +msgid "``columns[${NAME}].flags=COLUMN_SCALAR``" +msgstr "" + +msgid "``columns[${NAME}].type=null``" +msgstr "" + +msgid "``columns[${NAME}].value=null``" +msgstr "" + +msgid "``columns[${NAME}].window.sort_keys=null``" +msgstr "" + +msgid "``columns[${NAME}].window.group_keys=null``" +msgstr "" + +msgid "" +"You can use one or more alphabets, digits, ``_`` for ``${NAME}``. For " +"example, ``column1`` is a valid ``${NAME}``. This is the same rule as normal " +"column. See also :ref:`column-create-name`." +msgstr "" +"``${NAME}`` には1つ以上のアルファベット、数字、 ``_`` を使うことができます。" +"たとえば、 ``column1`` は有効な ``${NAME}`` です。これは通常のカラムと同じ" +"ルールです。 :ref:`column-create-name` も見てください。" + +msgid "Parameters that have the same ``${NAME}`` are grouped." +msgstr "同じ ``${NAME}`` も持つ引数は同じグループになります。" + +msgid "For example, the following parameters specify one dynamic column:" +msgstr "たとえば、以下の引数は1つの動的カラムを指定しています。" + +msgid "``--columns[name].stage initial``" +msgstr "" + +msgid "``--columns[name].type UInt32``" +msgstr "" + +msgid "``--columns[name].value 29``" +msgstr "" + +msgid "The following parameters specify two dynamic columns:" +msgstr "以下の引数は2つの動的カラムを指定しています。" + +msgid "``--columns[name1].stage initial``" +msgstr "" + +msgid "``--columns[name1].type UInt32``" +msgstr "" + +msgid "``--columns[name1].value 29``" +msgstr "" + +msgid "``--columns[name2].stage initial``" +msgstr "" + +msgid "``--columns[name2].type Float``" +msgstr "" + +msgid "``--columns[name2].value '_score * 0.1'``" +msgstr "" + +msgid "" "Let's learn about usage with examples. This section shows many popular " "usages." msgstr "" @@ -7673,86 +7753,9 @@ msgstr "" msgid "The required parameters are ``logical_table`` and ``shard_key``::" msgstr "必須引数は2つあります。 ``logical_table`` と ``shard_key`` です。" -msgid "" -"There are some parameters that can be only used as named parameters. You " -"can't use these parameters as ordered parameters. You must specify parameter " -"name." -msgstr "" -"いくつか名前付き引数としてしか使えない引数があります。これらの引数を「○番目の" -"引数」として使うことはできません。必ず名前を指定する必要があります。" - -msgid "Here are parameters that can be only used as named parameters:" -msgstr "名前付き引数としてしか使えない引数は次の通りです。" - -msgid "``cache=no``" -msgstr "" - -msgid "This command has the following named parameters for dynamic columns:" -msgstr "以下の名前付き引数で動的カラム機能を使うことができます。" - -msgid "``columns[${NAME}].stage=null``" -msgstr "" - -msgid "``columns[${NAME}].flags=COLUMN_SCALAR``" -msgstr "" - -msgid "``columns[${NAME}].type=null``" -msgstr "" - -msgid "``columns[${NAME}].value=null``" -msgstr "" - -msgid "``columns[${NAME}].window.sort_keys=null``" -msgstr "" - -msgid "``columns[${NAME}].window.group_keys=null``" -msgstr "" - -msgid "" -"You can use one or more alphabets, digits, ``_`` for ``${NAME}``. For " -"example, ``column1`` is a valid ``${NAME}``. This is the same rule as normal " -"column. See also :ref:`column-create-name`." -msgstr "" -"``${NAME}`` には1つ以上のアルファベット、数字、 ``_`` を使うことができます。" -"たとえば、 ``column1`` は有効な ``${NAME}`` です。これは通常のカラムと同じ" -"ルールです。 :ref:`column-create-name` も見てください。" - -msgid "Parameters that have the same ``${NAME}`` are grouped." -msgstr "同じ ``${NAME}`` も持つ引数は同じグループになります。" - -msgid "For example, the following parameters specify one dynamic column:" -msgstr "たとえば、以下の引数は1つの動的カラムを指定しています。" - -msgid "``--columns[name].stage initial``" -msgstr "" - -msgid "``--columns[name].type UInt32``" -msgstr "" - -msgid "``--columns[name].value 29``" -msgstr "" - -msgid "The following parameters specify two dynamic columns:" -msgstr "以下の引数は2つの動的カラムを指定しています。" - -msgid "``--columns[name1].stage initial``" -msgstr "" - -msgid "``--columns[name1].type UInt32``" -msgstr "" - -msgid "``--columns[name1].value 29``" -msgstr "" - msgid "``--columns[name2].stage filtered``" msgstr "" -msgid "``--columns[name2].type Float``" -msgstr "" - -msgid "``--columns[name2].value '_score * 0.1'``" -msgstr "" - msgid "Simple usage" msgstr "簡単な使い方" Modified: doc/source/reference/commands/logical_count.rst (+40 -0) =================================================================== --- doc/source/reference/commands/logical_count.rst 2017-11-07 16:48:30 +0900 (6faf47ed3) +++ doc/source/reference/commands/logical_count.rst 2017-11-08 10:10:08 +0900 (5a02c6f2e) @@ -46,6 +46,46 @@ parameters are optional:: [max_border="include"] [filter=null] +There are some parameters that can be only used as named +parameters. You can't use these parameters as ordered parameters. You +must specify parameter name. + +Here are parameters that can be only used as named parameters: + + * ``cache=no`` + +.. versionadded:: 7.0.9 + + This command has the following named parameters for dynamic columns: + + * ``columns[${NAME}].stage=null`` + * ``columns[${NAME}].flags=COLUMN_SCALAR`` + * ``columns[${NAME}].type=null`` + * ``columns[${NAME}].value=null`` + * ``columns[${NAME}].window.sort_keys=null`` + * ``columns[${NAME}].window.group_keys=null`` + + You can use one or more alphabets, digits, ``_`` for ``${NAME}``. For + example, ``column1`` is a valid ``${NAME}``. This is the same rule as + normal column. See also :ref:`column-create-name`. + + Parameters that have the same ``${NAME}`` are grouped. + + For example, the following parameters specify one dynamic column: + + * ``--columns[name].stage initial`` + * ``--columns[name].type UInt32`` + * ``--columns[name].value 29`` + + The following parameters specify two dynamic columns: + + * ``--columns[name1].stage initial`` + * ``--columns[name1].type UInt32`` + * ``--columns[name1].value 29`` + * ``--columns[name2].stage initial`` + * ``--columns[name2].type Float`` + * ``--columns[name2].value '_score * 0.1'`` + .. _logical-count-usage: Usage -------------- next part -------------- HTML����������������������������... URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20171108/d8be23ab/attachment-0001.htm