Kouhei Sutou
null+****@clear*****
Thu Oct 1 19:39:09 JST 2015
Kouhei Sutou 2015-10-01 19:39:09 +0900 (Thu, 01 Oct 2015) New Revision: 32673548cc6e3db7139e71e64c69d528613e523f https://github.com/groonga/groonga/commit/32673548cc6e3db7139e71e64c69d528613e523f Message: doc: stop to use deprecated things Modified files: doc/locale/ja/LC_MESSAGES/reference.po doc/source/reference/query_expanders/tsv.rst Modified: doc/locale/ja/LC_MESSAGES/reference.po (+4 -4) =================================================================== --- doc/locale/ja/LC_MESSAGES/reference.po 2015-10-01 15:53:05 +0900 (c8f2570) +++ doc/locale/ja/LC_MESSAGES/reference.po 2015-10-01 19:39:09 +0900 (c9b0314) @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.2.1\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2015-09-28 14:26+0900\n" +"PO-Revision-Date: 2015-10-01 19:39+0900\n" "Last-Translator: Masafumi Yokoyama <yokoyama �� clear-code.com>\n" "Language-Team: Japanese\n" "Language: ja\n" @@ -8057,7 +8057,7 @@ msgstr "" "``match_escalation_threshold`` (-1)より大きいので、検索方法をエスカレーショ" "ンしません。そして、1つもレコードがマッチしません。" -msgid "``query_expansion``" +msgid "``query_expander``" msgstr "" msgid "Deprecated. Use :ref:`select-query-expander` instead." @@ -17416,10 +17416,10 @@ msgstr "" "録します::" msgid "" -"You just add ``--query_expansion QueryExpanderTSV`` parameter to ``select`` " +"You just add ``--query_expander QueryExpanderTSV`` parameter to ``select`` " "command::" msgstr "" -"``select`` コマンドに ``--query_expansion QueryExpanderTSV`` パラメーターを追" +"``select`` コマンドに ``--query_expander QueryExpanderTSV`` パラメーターを追" "加します::" msgid "" Modified: doc/source/reference/query_expanders/tsv.rst (+9 -9) =================================================================== --- doc/source/reference/query_expanders/tsv.rst 2015-10-01 15:53:05 +0900 (367efde) +++ doc/source/reference/query_expanders/tsv.rst 2015-10-01 19:39:09 +0900 (693f1de) @@ -22,15 +22,15 @@ Install You need to register ``query_expanders/tsv`` as a plugin before you use ``QueryExpanderTSV``:: - register query_expanders/tsv + plugin_register query_expanders/tsv Usage ----- -You just add ``--query_expansion QueryExpanderTSV`` parameter to +You just add ``--query_expander QueryExpanderTSV`` parameter to ``select`` command:: - select --query "QUERY" --query_expansion QueryExpanderTSV + select --query "QUERY" --query_expander QueryExpanderTSV If ``QUERY`` has registered synonyms, they are expanded. For example, there are the following synonyms. @@ -50,20 +50,20 @@ The table means that ``synonym 1`` and ``synonym 2`` are synonyms of Here is an example of query expnasion that uses ``groonga`` as query:: - select --query "groonga" --query_expansion QueryExpanderTSV + select --query "groonga" --query_expander QueryExpanderTSV The above command equals to the following command:: - select --query "groonga OR Senna" --query_expansion QueryExpanderTSV + select --query "groonga OR Senna" --query_expander QueryExpanderTSV Here is another example of query expnasion that uses ``mroonga search`` as query:: - select --query "mroonga search" --query_expansion QueryExpanderTSV + select --query "mroonga search" --query_expander QueryExpanderTSV The above command equals to the following command:: - select --query "(mroonga OR (groonga MySQL)) search" --query_expansion QueryExpanderTSV + select --query "(mroonga OR (groonga MySQL)) search" --query_expander QueryExpanderTSV It is important that registered words (``groonga`` and ``mroonga``) are only expanded to synonyms and not registered words (``search``) @@ -89,11 +89,11 @@ synonyms. Here is an example of using query expnasion as spelling correction:: - select --query "gronga" --query_expansion QueryExpanderTSV + select --query "gronga" --query_expander QueryExpanderTSV The above command equals to the following command:: - select --query "groonga" --query_expansion QueryExpanderTSV + select --query "groonga" --query_expander QueryExpanderTSV The former command has a typo in ``--query`` value but the latter command doesn't have any typos. -------------- next part -------------- HTML����������������������������...Download