Kouhei Sutou
null+****@clear*****
Wed Mar 26 00:11:33 JST 2014
Kouhei Sutou 2014-03-26 00:11:33 +0900 (Wed, 26 Mar 2014) New Revision: 66b206728fb83046dc61e33962b36cfa32dcfdef https://github.com/groonga/groonga/commit/66b206728fb83046dc61e33962b36cfa32dcfdef Message: doc: fix term in adjuster weight -> factor Modified files: doc/locale/ja/LC_MESSAGES/reference.po doc/source/reference/commands/select.txt Modified: doc/locale/ja/LC_MESSAGES/reference.po (+12 -12) =================================================================== --- doc/locale/ja/LC_MESSAGES/reference.po 2014-03-25 17:00:22 +0900 (00f39bd) +++ doc/locale/ja/LC_MESSAGES/reference.po 2014-03-26 00:11:33 +0900 (561ab24) @@ -5328,8 +5328,8 @@ msgstr "``COLUMN`` にはインデックスが張っていないといけませ msgid "``\"KEYWORD\"`` must be a string." msgstr "``\"KEYWORD\"`` は文字列でないといけません。" -msgid "``WEIGHT`` must be a positive integer." -msgstr "``WEIGHT`` は正の整数でないといけません。" +msgid "``FACTOR`` must be a positive integer." +msgstr "``FACTOR`` は正の整数でないといけません。" msgid "" "Here is a sample ``adjuster`` usage example that uses just one " @@ -5352,22 +5352,22 @@ msgstr "" "\"Groonga\"`` というキーのレコードです。このレコードのスコアーは6( ``= 1 + " "5`` )になります。" -msgid "You can omit ``WEIGHT``. If you omit ``WEIGHT``, it is treated as 1." +msgid "You can omit ``FACTOR``. If you omit ``FACTOR``, it is treated as 1." msgstr "" -"``WEIGHT`` は省略できます。 ``WEIGHT`` を省略すると、1を指定したとみなしま" +"``FACTOR`` は省略できます。 ``FACTOR`` を省略すると、1を指定したとみなしま" "す。" -msgid "Here is a sample ``adjuster`` usage example that omits ``WEIGHT``:" -msgstr "``WEIGHT`` を省略した ``adjuster`` の使用例です。" +msgid "Here is a sample ``adjuster`` usage example that omits ``FACTOR``:" +msgstr "``FACTOR`` を省略した ``adjuster`` の使用例です。" msgid "" -"The ``adjuster`` in the ``select`` command doesn't have ``WEIGHT``. So the " -"weight is treated as 1. There is only one record that has ``\"groonga\"`` in " +"The ``adjuster`` in the ``select`` command doesn't have ``FACTOR``. So the " +"factor is treated as 1. There is only one record that has ``\"groonga\"`` in " "``Entries.content`` column. So the record that its key is ``\"Groonga\"`` " "has score 2 (``= 1 + 1``)." msgstr "" -"この ``select`` コマンドの ``adjuster`` は ``WEIGHT`` がありません。そのた" -"め、重みは1になります。 ``Entries.content`` カラムに ``\"groonga\"`` を含むレ" +"この ``select`` コマンドの ``adjuster`` は ``FACTOR`` がありません。そのた" +"め、係数は1になります。 ``Entries.content`` カラムに ``\"groonga\"`` を含むレ" "コードは1つだけです。キーが ``\"Groonga\"`` のレコードです。このレコードのス" "コアーは2( ``= 1 + 1`` )になります。" @@ -5410,13 +5410,13 @@ msgid "The final increased score is 9 (``= 1 + 5 + 3``)." msgstr "最終的なスコアーの増分は9( ``= 1 + 5 + 3`` )です。" msgid "" -"A ``SCORE_ADJUST_EXPRESSION`` has a weight for ``\"KEYWORD\"``. This means " +"A ``SCORE_ADJUST_EXPRESSION`` has a factor for ``\"KEYWORD\"``. This means " "that increased scores of all records that has ``\"KEYWORD\"`` are the same " "value. You can change score for each record that has the same ``\"KEYWORD" "\"``. It is useful to tune search score. See :ref:`weight-vector-column` for " "details." msgstr "" -"1つの ``SCORE_ADJUST_EXPRESSION`` は ``\"KEYWORD\"`` に対して1つの重みを持ち" +"1つの ``SCORE_ADJUST_EXPRESSION`` は ``\"KEYWORD\"`` に対して1つの係数を持ち" "ます。これは、 ``\"KEYWORD\"`` を持つすべてのレコードでスコアーの増加分は同じ" "ということです。 ``\"KEYWORD\"`` を持つそれぞれのレコード毎にスコアーの増加分" "を変えることができます。これは検索スコアーをチューニングするときに便利です。" Modified: doc/source/reference/commands/select.txt (+8 -8) =================================================================== --- doc/source/reference/commands/select.txt 2014-03-25 17:00:22 +0900 (400f62e) +++ doc/source/reference/commands/select.txt 2014-03-26 00:11:33 +0900 (cca043d) @@ -866,13 +866,13 @@ Here is the syntax:: Here is the ``SCORE_ADJUST_EXPRESSION`` syntax:: - COLUMN @ "KEYWORD" * WEIGHT + COLUMN @ "KEYWORD" * FACTOR Note the following: * ``COLUMN`` must be indexed. * ``"KEYWORD"`` must be a string. - * ``WEIGHT`` must be a positive integer. + * ``FACTOR`` must be a positive integer. Here is a sample ``adjuster`` usage example that uses just one ``SCORE_ADJUST_EXPRESSION``: @@ -890,19 +890,19 @@ The ``select`` command matches all records. Then it applies record that has ``"groonga"`` in ``Entries.content`` column. So the record that its key is ``"Groonga"`` has score 6 (``= 1 + 5``). -You can omit ``WEIGHT``. If you omit ``WEIGHT``, it is treated as 1. +You can omit ``FACTOR``. If you omit ``FACTOR``, it is treated as 1. -Here is a sample ``adjuster`` usage example that omits ``WEIGHT``: +Here is a sample ``adjuster`` usage example that omits ``FACTOR``: .. groonga-command -.. include:: ../../example/reference/commands/select/adjuster_no_weight.log +.. include:: ../../example/reference/commands/select/adjuster_no_factor.log .. select Entries \ .. --filter true \ .. --adjuster 'content @ "groonga"' \ .. --output_columns _key,content,_score -The ``adjuster`` in the ``select`` command doesn't have ``WEIGHT``. So -the weight is treated as 1. There is only one record that has +The ``adjuster`` in the ``select`` command doesn't have ``FACTOR``. So +the factor is treated as 1. There is only one record that has ``"groonga"`` in ``Entries.content`` column. So the record that its key is ``"Groonga"`` has score 2 (``= 1 + 1``). @@ -931,7 +931,7 @@ It increases score by 3. The final increased score is 9 (``= 1 + 5 + 3``). -A ``SCORE_ADJUST_EXPRESSION`` has a weight for ``"KEYWORD"``. This +A ``SCORE_ADJUST_EXPRESSION`` has a factor for ``"KEYWORD"``. This means that increased scores of all records that has ``"KEYWORD"`` are the same value. You can change increase score for each record that has the same ``"KEYWORD"``. It is useful to tune search score. See -------------- next part -------------- HTML����������������������������...Download