Kouhei Sutou
null+****@clear*****
Tue Sep 15 11:53:00 JST 2015
Kouhei Sutou 2015-09-15 11:53:00 +0900 (Tue, 15 Sep 2015) New Revision: e6b34753c0227ce91e1ff6960bec79499930aa4b https://github.com/groonga/groonga/commit/e6b34753c0227ce91e1ff6960bec79499930aa4b Message: doc: add reference to scorer Modified files: doc/locale/ja/LC_MESSAGES/reference.po doc/source/reference/commands/select.rst Modified: doc/locale/ja/LC_MESSAGES/reference.po (+19 -6) =================================================================== --- doc/locale/ja/LC_MESSAGES/reference.po 2015-09-15 11:40:54 +0900 (9918f75) +++ doc/locale/ja/LC_MESSAGES/reference.po 2015-09-15 11:53:00 +0900 (4367c28) @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.2.1\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2015-09-15 11:37+0900\n" +"PO-Revision-Date: 2015-09-15 11:50+0900\n" "Last-Translator: Masafumi Yokoyama <yokoyama �� clear-code.com>\n" "Language-Team: Japanese\n" "Language: ja\n" @@ -7717,14 +7717,14 @@ msgid "" "Specifies the default target column for fulltext search by ``query`` " "parameter value. A target column for fulltext search can be specified in " "``query`` parameter. The difference between ``match_columns`` and ``query`` " -"is whether weight is supported or not. ``match_columns`` supports weight but " -"``query`` doesn't." +"is whether weight and score function are supported or not. ``match_columns`` " +"supports them but ``query`` doesn't." msgstr "" "``query`` 引数の値で全文検索をするときに使うデフォルトの検索対象カラムを指定" "します。全文検索対象のカラムは ``query`` 引数でも指定できます。検索対象カラム" -"を ``match_columns`` で指定する場合と ``query`` で指定する場合の違いは重みを" -"指定できるかどうかです。 ``match_columns`` では重みを指定できますが、 " -"``query`` では指定できません。" +"を ``match_columns`` で指定する場合と ``query`` で指定する場合の違いは重みと" +"スコアー関数を指定できるかどうかです。 ``match_columns`` では指定できます" +"が、 ``query`` では指定できません。" msgid "" "Weight is relative importance of target column. A higher weight target " @@ -7818,6 +7818,19 @@ msgstr "" "エントリのタイトルはブログエントリの内容よりも重要だということです。" msgid "" +"You can also specify score function. See :doc:`/reference/scorer` for " +"details." +msgstr "" +"スコアー関数を指定することもできます。詳細は :doc:`/reference/scorer` を参照" +"してください。" + +msgid "" +"Note that score function isn't related to :ref:`select-scorer` parameter." +msgstr "" +"スコアー関数と :ref:`select-scorer` パラメーターは関係ないので注意してくださ" +"い。" + +msgid "" "Specifies the query text. Normally, it is used for fulltext search with " "``match_columns`` parameter. ``query`` parameter is designed for a fulltext " "search form in a Web page. A query text should be formatted in :doc:`/" Modified: doc/source/reference/commands/select.rst (+11 -5) =================================================================== --- doc/source/reference/commands/select.rst 2015-09-15 11:40:54 +0900 (08eec75) +++ doc/source/reference/commands/select.rst 2015-09-15 11:53:00 +0900 (0979030) @@ -328,11 +328,11 @@ and ``filter`` aren't specified, all records are selected. ``match_columns`` """"""""""""""""" -Specifies the default target column for fulltext search by -``query`` parameter value. A target column for fulltext search can be -specified in ``query`` parameter. The difference between -``match_columns`` and ``query`` is whether weight is supported or -not. ``match_columns`` supports weight but ``query`` doesn't. +Specifies the default target column for fulltext search by ``query`` +parameter value. A target column for fulltext search can be specified +in ``query`` parameter. The difference between ``match_columns`` and +``query`` is whether weight and score function are supported or +not. ``match_columns`` supports them but ``query`` doesn't. Weight is relative importance of target column. A higher weight target column gets more hit score rather than a lower weight target column @@ -392,6 +392,12 @@ is 1. This weight allocation means ``_key`` column value is more important rather than ``content`` column value. In this example, title of blog entry is more important rather thatn content of blog entry. +You can also specify score function. See :doc:`/reference/scorer` for +details. + +Note that score function isn't related to :ref:`select-scorer` +parameter. + .. _select-query: ``query`` -------------- next part -------------- HTML����������������������������... Download