Kouhei Sutou 2019-04-03 17:14:50 +0900 (Wed, 03 Apr 2019) Revision: 3fd872b782a9172cfe9a1d3a02833cbe2d0be490 https://github.com/groonga/groonga/commit/3fd872b782a9172cfe9a1d3a02833cbe2d0be490 Message: doc column_create ja: translate Modified files: doc/locale/ja/LC_MESSAGES/reference.po doc/source/reference/commands/column_create.rst Modified: doc/locale/ja/LC_MESSAGES/reference.po (+149 -55) =================================================================== --- doc/locale/ja/LC_MESSAGES/reference.po 2019-04-03 15:18:38 +0900 (79d6f8614) +++ doc/locale/ja/LC_MESSAGES/reference.po 2019-04-03 17:14:50 +0900 (1edc6f0c4) @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.2.1\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2018-10-09 19:14+0900\n" +"PO-Revision-Date: 2019-04-03 17:11+0900\n" "Last-Translator: Masafumi Yokoyama <yokoy****@clear*****>\n" "Language-Team: Japanese\n" "Language: ja\n" @@ -4570,6 +4570,9 @@ msgstr "" msgid ":ref:`column-create-index-medium`" msgstr "" +msgid ":ref:`column-create-index-large`" +msgstr "" + msgid "" "Here is the ``People`` table definition. The ``People`` table is used in " "examples:" @@ -4864,11 +4867,11 @@ msgstr "" "ことです。これが違いです。" msgid "" -"Here is an example to create a full text search index column for the " -"``roles`` column of the ``People`` table." +"Here is an example to create a full text search index column for the key of " +"the ``People`` table." msgstr "" -"以下は ``People`` テーブルの ``roles`` カラム用の全文検索インデックスカラムを" -"作成する例です。" +"以下は ``People`` テーブルのキー用の全文検索インデックスカラムを作成する例で" +"す。" msgid "" "First, you need to create a table for full text search index column. See :" @@ -4882,42 +4885,41 @@ msgstr "" "定した ``Terms`` テーブルを作成しています。" msgid "" -"Now, you can create a full text search index column for the ``roles`` column " -"of the ``People`` table. ``COLUMN_INDEX|WITH_POSITION`` in the ``flags`` " -"parameter, ``People`` in the ``type`` parameter and ``roles`` in the " -"``source`` parameter are important:" +"Now, you can create a full text search index column for the key of the " +"``People`` table. ``COLUMN_INDEX|WITH_POSITION`` in the ``flags`` parameter, " +"``People`` in the ``type`` parameter and ``_key`` in the ``source`` " +"parameter are important:" msgstr "" -"これで ``Poeple`` テーブルの ``roles`` カラム用の全文検索インデックスカラムを" -"作成できるようになりました。 ``flags`` パラメーターの ``COLUMN_INDEX|" -"WITH_POSITION`` 、 ``type`` パラメーターの ``People`` 、 ``source`` パラメー" -"ターの ``roles`` がポイントです。" +"これで ``Poeple`` テーブルのキー用の全文検索インデックスカラムを作成できるよ" +"うになりました。 ``flags`` パラメーターの ``COLUMN_INDEX|WITH_POSITION`` 、 " +"``type`` パラメーターの ``People`` 、 ``source`` パラメーターの ``_key`` がポ" +"イントです。" msgid "" -"You can confirm that ``--match_columns roles`` and ``--query Sister`` are " -"evaluated by the ``Terms.people_roles_index`` newly created full text search " +"You can confirm that ``--match_columns _key`` and ``--query Alice`` are " +"evaluated by the ``Terms.people_key_index`` newly created full text search " "index column from log. Groonga reports used index columns in ``info`` log " "level. You can change log level dynamically by :doc:`log_level` command." msgstr "" -"ログを確認すると、新しく作成した ``Terms.people_roles_index`` 全文検索イン" -"デックスカラムで ``--match_columns roles`` と ``--query Sister`` を処理してい" -"ることがわかります。Groongaは使用したインデックスカラムを ``info`` ログレベル" -"でログに出力します。ログレベルは :doc:`log_level` コマンドを使うと動的に変更" -"できます。" +"ログを確認すると、新しく作成した ``Terms.people_key_index`` 全文検索インデッ" +"クスカラムで ``--match_columns _key`` と ``--query Alice`` を処理していること" +"がわかります。Groongaは使用したインデックスカラムを ``info`` ログレベルでログ" +"に出力します。ログレベルは :doc:`log_level` コマンドを使うと動的に変更できま" +"す。" msgid "" -"You can confirm that the ``Terms.people_roles_index`` is used from the " +"You can confirm that the ``Terms.people_key_index`` is used from the " "following log::" -msgstr "" -"以下のログから ``Terms.people_roles_index`` を使ったことを確認できます。" +msgstr "以下のログから ``Terms.people_key_index`` を使ったことを確認できます。" msgid "" -"The log says ``Terms.people_roles_index`` index column is used for full text " +"The log says ``Terms.people_key_index`` index column is used for full text " "search. (To be precise, the index column is used for exact term search by " "inverted index.)" msgstr "" -"このログは全文検索に ``Terms.people_roles_index`` インデックスカラムを使った" -"ことを示しています。(正確に言うと転置索引を使った完全一致検索にこのインデッ" -"クスカラムを使っています。)" +"このログは全文検索に ``Terms.people_key_index`` インデックスカラムを使ったこ" +"とを示しています。(正確に言うと転置索引を使った完全一致検索にこのインデック" +"スカラムを使っています。)" msgid "Create a multiple columns index column" msgstr "マルチカラムインデックスカラムを作成" @@ -4977,46 +4979,63 @@ msgstr "" "さい。" msgid "" -"Here is an example to create a multiple columns full text search index " -"column for the key of the ``People`` table and the ``roles`` column of the " -"``People`` table." +"Here is an example to create a multiple columns index column for the key of " +"the ``People`` table and the ``roles`` column of the ``People`` table." msgstr "" -"以下は ``People`` テーブルのキーと ``roles`` カラム用のマルチカラム全文検索イ" -"ンデックスカラムを作成する例です。" +"以下は ``People`` テーブルのキーと ``roles`` カラム用のマルチカラムインデック" +"スカラムを作成する例です。" msgid "" "There is no difference between index table for single column index column " -"and multiple columns index column. In this example, the ``Terms`` table " -"created at :ref:`column-create-index-full-text-search` is used." +"and multiple columns index column." msgstr "" "インデックス用のテーブルは、シングルカラムインデックスとマルチカラムインデッ" -"クスカラムで違いはありません。この例では :ref:`column-create-index-full-text-" -"search` で使った ``Terms`` テーブルを使います。" +"クスカラムで違いはありません。" msgid "" -"You can create a multiple columns full text search index column for the key " -"of the ``People`` table and ``roles`` column of the ``People`` table. " -"``COLUMN_INDEX|WITH_POSITION|WITH_SECTION`` in the ``flags`` parameter, " -"``People`` in the ``type`` parameter and ``_key,roles`` in the ``source`` " -"parameter are important:" +"In this example, ``Names`` table is created for equal search and prefix " +"search. It uses ``TABLE_PAT_KEY`` because ``TABLE_PAT_KEY`` supports prefix " +"search. See :doc:`../tables` for details." msgstr "" -"``People`` テーブルのキーと ``roles`` カラム用のマルチカラム全文検索インデッ" -"クスカラムを作成します。 ``flags`` パラメーターの ``COLUMN_INDEX|" -"WITH_POSITION|WITH_SECTION`` 、 ``type`` パラメーターの ``People`` 、 " -"``source`` パラメーターの ``_key,roles`` がポイントです。" +"この例では、完全一致検索と前方一致検索用に ``Names`` テーブルを作りました。こ" +"のテーブルは ``TABLE_PAT_KEY`` を使っています。なぜなら ``TABLE_PAT_KEY`` は" +"前方一致検索をサポートしているからです。詳細は :doc:`../tables` を参照してく" +"ださい。" msgid "" -"You can confirm that ``--match_columns _key`` and ``--query Alice`` are " -"evaluated by the ``Terms.people_key_roles_index`` newly created multiple " -"columns full text search index column from log. Groonga reports used index " -"columns in ``info`` log level. You can change log level dynamically by :doc:" -"`log_level` command." +"You can create a multiple columns index column for the key of the ``People`` " +"table and ``roles`` column of the ``People`` table. ``COLUMN_INDEX|" +"WITH_SECTION`` in the ``flags`` parameter, ``People`` in the ``type`` " +"parameter and ``_key,roles`` in the ``source`` parameter are important:" msgstr "" -"ログを確認すると、新しく作成した ``Terms.people_key_roles_index`` マルチカラ" -"ム全文検索インデックスカラムを使って ``--match_columns _key`` と ``--query " -"Alice`` を評価していることがわかります。Groongaは使用したインデックスカラム" -"を ``info`` ログレベルでログに出力します。ログレベルは :doc:`log_level` コマ" -"ンドを使うと動的に変更できます。" +"``People`` テーブルのキーと ``roles`` カラム用のマルチカラムインデックスカラ" +"ムを作成します。 ``flags`` パラメーターの ``COLUMN_INDEX|WITH_SECTION`` 、 " +"``type`` パラメーターの ``People`` 、 ``source`` パラメーターの ``_key," +"roles`` がポイントです。" + +msgid "" +"You can confirm that ``--filter 'roles @^ \"Younger\"`` is evaluated by the " +"``Names.people_key_roles_index`` newly created multiple columns index column " +"from log. Groonga reports used index columns in ``info`` log level. You can " +"change log level dynamically by :doc:`log_level` command." +msgstr "" +"ログを確認すると、新しく作成した ``Names.people_key_roles_index`` インデック" +"スカラムを使って ``--filter 'roles @^ \"Younger\"`` を評価していることがわか" +"ります。Groongaは使用したインデックスカラムを ``info`` ログレベルでログに出力" +"します。ログレベルは :doc:`log_level` コマンドを使うと動的に変更できます。" + +msgid "" +"You can confirm that the ``Names.people_key_roles_index`` is used from the " +"following log::" +msgstr "" +"以下のログから ``Names.people_key_roles_index`` を使ったことを確認できます。" + +msgid "" +"The log says ``Names.people_key_roles_index`` index column is used for " +"prefix search." +msgstr "" +"このログは前方一致検索に ``Names.people_key_roles_index`` インデックスカラム" +"を使ったことを示しています。" msgid "Create a small index column" msgstr "小さなインデックスカラムを作成" @@ -5191,6 +5210,50 @@ msgstr "" msgid "Here is an example to create a medium index column:" msgstr "以下は中サイズのインデックスカラムを作る例です。" +msgid "Create a large index column" +msgstr "大きなインデックスカラムを作成" + +msgid "" +"If you know index target data are large, you need to use large index column. " +"It uses increases memory usage for the index column but it can accept more " +"data. Memory usage is 2 times larger than the default index column." +msgstr "" +"もし、インデックス対象のデータが大きいことがわかっているなら大きなインデック" +"スカラムを使わなければいけません。このインデックスカラムが使用するメモリー量" +"が増えますが、より多くのデータを扱えます。デフォルトのインデックスカラムと比" +"べて2倍のメモリー使用量になります。" + +msgid "How many data are large? It depends on data." +msgstr "どのくらいのデータが大きなデータでしょうか。それはデータによります。" + +msgid "If index target is only one scalar column, it's not large data." +msgstr "" +"もし、インデックス対象がスカラーカラム1つだけであれば、大きくありません。" + +msgid "" +"Large data must have many records (normally at least 10 millions records) " +"and at least one of the following features:" +msgstr "" +"大きなデータは大量のレコード(通常は少なくとも1000万レコード以上)があり、少" +"なくとも次のうちの1つ以上の特徴があります。" + +msgid "" +"You need to add ``INDEX_LARGE`` to the ``flags`` parameter such as " +"``COLUMN_INDEX|INDEX_LARGE`` to create a large index column." +msgstr "" +"大きなインデックスカラムを作成するには ``COLUMN_INDEX|INDEX_LARGE`` というよ" +"うに ``flags`` パラメーターに ``INDEX_LARGE`` を追加します。" + +msgid "" +"You can use a large index column for an index column of the ``_key`` of the " +"``People`` table and the ``role`` column of the ``People`` table." +msgstr "" +"以下は ``People`` テーブルのキーと ``roles`` カラム用に大きなインデックスカラ" +"ムを作成する例です。" + +msgid "Here is an example to create a large index column:" +msgstr "以下は大きなインデックスカラムを作る例です。" + msgid "There are some required parameters." msgstr "いくつか必須の引数があります。" @@ -5472,6 +5535,24 @@ msgstr "" "量が少ないです。「中サイズのデータ」とはなにか、このフラグをどうやって使えば" "よいかは :ref:`column-create-index-medium` を見てください。" +msgid "``INDEX_LARGE``" +msgstr "" + +msgid "It requires to create a large index column." +msgstr "大きなインデックスを作成するときに指定します。" + +msgid "" +"If index target data are large, you need to use large index column. Large " +"index column uses more memory than a normal index column but accepts more " +"data than a normal index column. See also :ref:`column-create-index-large` " +"for knowing what are \"large data\" and how to use this flag." +msgstr "" +"インデックス対象のデータが大きいときは大きなインデックスカラムを使う必要があ" +"ります。大きなインデックスカラムは通常のインデックスカラムよりもメモリーを使" +"いますが、通常のインデックスカラムよりも多くのデータを扱えます。「大きなデー" +"タ」とはなにか、このフラグをどうやって使えばよいかは :ref:`column-create-" +"index-large` を見てください。" + msgid "" "You must specify one of ``COLUMN_${TYPE}`` flags. You can't specify two or " "more ``COLUMN_${TYPE}`` flags. For example, ``COLUMN_SCALAR|COLUMN_VECTOR`` " @@ -28974,3 +29055,16 @@ msgstr "" msgid "``window_sum``" msgstr "" + +#~ msgid "" +#~ "You can confirm that ``--match_columns _key`` and ``--query Alice`` are " +#~ "evaluated by the ``Terms.people_key_roles_index`` newly created multiple " +#~ "columns full text search index column from log. Groonga reports used " +#~ "index columns in ``info`` log level. You can change log level dynamically " +#~ "by :doc:`log_level` command." +#~ msgstr "" +#~ "ログを確認すると、新しく作成した ``Terms.people_key_roles_index`` マルチカ" +#~ "ラム全文検索インデックスカラムを使って ``--match_columns _key`` と ``--" +#~ "query Alice`` を評価していることがわかります。Groongaは使用したインデック" +#~ "スカラムを ``info`` ログレベルでログに出力します。ログレベルは :doc:" +#~ "`log_level` コマンドを使うと動的に変更できます。" Modified: doc/source/reference/commands/column_create.rst (+2 -1) =================================================================== --- doc/source/reference/commands/column_create.rst 2019-04-03 15:18:38 +0900 (4ebb78a57) +++ doc/source/reference/commands/column_create.rst 2019-04-03 17:14:50 +0900 (91e38546f) @@ -50,6 +50,7 @@ This section describes about the followings: * :ref:`column-create-index-multiple-columns` * :ref:`column-create-index-small` * :ref:`column-create-index-medium` + * :ref:`column-create-index-large` Here is the ``People`` table definition. The ``People`` table is used in examples: @@ -582,7 +583,7 @@ records) and at least one of the following features: * Index table has tokenizer You need to add ``INDEX_LARGE`` to the ``flags`` parameter such as -``COLUMN_INDEX|INDEX_LARGE`` to create a medium index column. +``COLUMN_INDEX|INDEX_LARGE`` to create a large index column. You can use a large index column for an index column of the ``_key`` of the ``People`` table and the ``role`` column of the ``People`` -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190403/0dafd7eb/attachment-0001.html>