Debian Codegraph @

doc/locale/ja/LC_MESSAGES/reference/commands/column_create.po

raw
1 # -*- po -*-
2 # Japanese translations for 1.2.1 package.
3 # Copyright (C) 2009-2011, Brazil, Inc
4 # This file is distributed under the same license as the groonga package.
5 # Kouhei Sutou <[email protected]>, 2011.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: 1.2.1\n"
9 "Report-Msgid-Bugs-To: \n"
10 "PO-Revision-Date: 2024-10-20 07:03+0900\n"
11 "Language-Team: Japanese\n"
12 "Language: ja\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=1; plural=0;\n"
17
18 msgid "Execution example::"
19 msgstr "実行例::"
20
21 msgid "``column_create``"
22 msgstr ""
23
24 msgid "Summary"
25 msgstr "概要"
26
27 msgid "``column_create`` creates a new column in a table."
28 msgstr "``column_create`` はテーブルに新しいカラムを作成します。"
29
30 msgid "You need to create one or more columns to store multiple data in one record."
31 msgstr "1つのレコードに複数の値を保存したい場合は1つ以上カラムを作成する必要があります。"
32
33 msgid "Groonga provides an index as a column. It's different from other systems. An index is just an index in other systems. Implementing an index as a column provides flexibility. For example, you can add metadata to each token."
34 msgstr "Groongaはインデックスをカラムとして提供しています。これは他のシステムと異なります。他のシステムではインデックスはインデックスです。インデックスをカラムとして実装していることで高い柔軟性を実現しています。たとえば、各トークンにメタデータを追加することができます。"
35
36 msgid "See :doc:`/reference/column` for column details."
37 msgstr "カラムの詳細は :doc:`/reference/column` を見てください。"
38
39 msgid "Syntax"
40 msgstr "構文"
41
42 msgid "This command takes many parameters."
43 msgstr "このコマンドにはたくさんの引数があります。"
44
45 msgid "Most parameters are required::"
46 msgstr "多くの引数は必須です::"
47
48 msgid "Usage"
49 msgstr "使い方"
50
51 msgid "This section describes about the followings:"
52 msgstr "このセクションでは次のことについて説明します。"
53
54 msgid ":ref:`column-create-scalar`"
55 msgstr ""
56
57 msgid ":ref:`column-create-vector`"
58 msgstr ""
59
60 msgid ":ref:`column-create-vector-weight`"
61 msgstr ""
62
63 msgid ":ref:`column-create-reference`"
64 msgstr ""
65
66 msgid ":ref:`column-create-index`"
67 msgstr ""
68
69 msgid ":ref:`column-create-index-full-text-search`"
70 msgstr ""
71
72 msgid ":ref:`column-create-index-multiple-columns`"
73 msgstr ""
74
75 msgid ":ref:`column-create-index-small`"
76 msgstr ""
77
78 msgid ":ref:`column-create-index-medium`"
79 msgstr ""
80
81 msgid ":ref:`column-create-index-large`"
82 msgstr ""
83
84 msgid ":ref:`column-create-missing-mode`"
85 msgstr ""
86
87 msgid ":ref:`column-create-invalid-mode`"
88 msgstr ""
89
90 msgid ":ref:`column-create-generated-column`"
91 msgstr ""
92
93 msgid "Here is the ``People`` table definition. The ``People`` table is used in examples:"
94 msgstr "以下は ``People`` テーブルの定義です。例ではこの ``People`` テーブルを使います。"
95
96 msgid "Create a scalar column"
97 msgstr "スカラーカラムを作成"
98
99 msgid "Groonga provides scalar column to store one value. For example, scalar column should be used for storing age into a person record. Because a person record must have only one age."
100 msgstr "Groongaは1つの値を保存する用途としてスカラーカラムを提供しています。たとえば、「人」レコードに「年齢」情報を保存するときはスカラーカラムが適切です。なぜなら「人」レコードは「年齢」を1つだけ持つからです。"
101
102 msgid "If you want to store multiple values into a record, scalar column isn't suitable. Use :ref:`column-create-vector` instead."
103 msgstr "1つのレコードに複数の値を保存したい場合には、スカラーカラムは適していません。代わりに :ref:`column-create-vector` を使ってください。"
104
105 msgid "You must specify ``COLUMN_SCALAR`` to the ``flags`` parameter to create a scalar column."
106 msgstr "スカラーカラムを作成するには ``flags`` 引数に ``COLUMN_SCALAR`` を指定します。"
107
108 msgid "Here is an example to create the ``age`` column to the ``People`` table. ``age`` column is a scalar column. It can store one ``UInt8`` (``0-255``) value as its value:"
109 msgstr "以下は ``People`` テーブルに ``age`` カラムを作成する例です。 ``age`` カラムはスカラーカラムです。このカラムには ``UInt8`` ( ``0-255`` )の値を1つ保存できます。"
110
111 msgid "You can store one value (``7``) by the following :doc:`load` command:"
112 msgstr "以下の :doc:`load` コマンドで1つの値( ``7`` )を保存できます。"
113
114 msgid "You can confirm the stored one value (``7``) by the following :doc:`select` command:"
115 msgstr "以下の :doc:`select` コマンドで保存された1つの値( ``7`` )を確認できます。"
116
117 msgid "Create a vector column"
118 msgstr "ベクターカラムを作成"
119
120 msgid "Groonga provides vector column to store multiple values. For example, vector column may be used for storing roles into a person record. Because a person record may have multiple roles."
121 msgstr "Groongaは複数の値を保存する用途としてベクターカラムを提供しています。たとえば、「人」レコードに複数の「役割」を保存する場合はベクターカラムが適切です。なぜなら「人」レコードは複数の「役割」を持つかもしれないからです。"
122
123 msgid "If you want to store only one value into a record, vector column isn't suitable. Use :ref:`column-create-scalar` instead."
124 msgstr "もし1つのレコードに値を1つだけ保存したい場合はベクターカラムは向いていません。代わりに :ref:`column-create-scalar` を使ってください。"
125
126 msgid "You must specify ``COLUMN_VECTOR`` to the ``flags`` parameter to create a vector column."
127 msgstr "ベクターカラムを作成するには ``flags`` パラメーターに ``COLUMN_VECTOR`` を指定します。"
128
129 msgid "Here is an example to create the ``roles`` column to the ``People`` table. ``roles`` column is a vector column. It can store zero or more ``ShortText`` values as its value:"
130 msgstr "以下は ``People`` テーブルに ``roles`` カラムを作成する例です。 ``roles`` カラムはベクターカラムです。カラムの値として0個以上の ``ShortText`` の値を保存できます。"
131
132 msgid "You can store multiple values (``[\"adventurer\", \"younger-sister\"]``) by the following :doc:`load` command:"
133 msgstr "以下の :doc:`load` コマンドで複数の値( ``[\"adventurer\", \"younger-sister\"]`` )を保存できます。"
134
135 msgid "You can confirm the stored multiple values (``[\"adventurer\", \"younger-sister\"]``) by the following :doc:`select` command:"
136 msgstr "保存した複数の値( ``[\"adventurer\", \"younger-sister\"]`` )は以下の :doc:`select` コマンドで確認できます。"
137
138 msgid "Create a weight vector column"
139 msgstr "重み付きベクターカラムの作成"
140
141 msgid "TODO: See also :ref:`weight-vector-column` and :ref:`select-adjuster`."
142 msgstr ""
143
144 msgid "Create a column that refers a table's record"
145 msgstr "テーブルのレコードを参照するカラムを作成"
146
147 msgid "Both scalar column and vector column can store reference to record of an existing table as column value. It's useful to store relationship between records."
148 msgstr "スカラーカラムもベクターカラムも既存のテーブルのレコードへの参照を保存することができます。これはレコード間の参照関係を保存する場合に便利です。"
149
150 msgid "For example, using a column that refers a person record is better for storing a character into a book record. Because one person may be appeared in some books."
151 msgstr "たとえば、「本」レコードで登場人物を保存する場合は、「人」レコードを参照するカラムを使うとよいです。なぜなら、同じ「人」が複数の本に登場するかもしれないからです。"
152
153 msgid "You must specify table name to be referenced to the ``type`` parameter to create a column that refers a table's record."
154 msgstr "テーブルのレコードを参照するカラムを作成するには ``type`` パラメーターに参照するテーブルの名前を指定します。"
155
156 msgid "Here is an example to create the ``character`` column to the ``Books`` table. The ``character`` column refers the ``People`` table. It can store one ``People`` table's record."
157 msgstr "以下は ``Books`` テーブルに ``character`` カラムを作成する例です。 ``character`` カラムは ``People`` テーブルを参照しています。 ``character`` カラムには ``People`` テーブルのレコードを1つ保存できます。"
158
159 msgid "Here is the ``Books`` table definition:"
160 msgstr "以下が ``Books`` テーブルの定義です。"
161
162 msgid "Here is the ``character`` column definition in the ``Books`` table. ``--type People`` is important:"
163 msgstr "以下は ``Books`` テーブルにある ``character`` カラムの定義です。 ``--type People`` がポイントです。"
164
165 msgid "You can store one reference (``\"alice\"``) by the following :doc:`load` command. You can use key value (``People._key`` value) for referring a record:"
166 msgstr "以下の :doc:`load` コマンドで1つの参照( ``\"alice\"`` )を保存できます。レコードを参照するにはキーの値( ``People._key`` の値)を使います。"
167
168 msgid "You can confirm the stored reference (``\"alice\"`` record) by the following :doc:`select` command. It retrieves the ``age`` column and the ``roles`` column values:"
169 msgstr "保存した参照( ``\"alice\"`` レコード)は以下の :doc:`select` コマンドで確認できます。以下の例では ``age`` カラムの値と ``roles`` カラムの値を取得しています。"
170
171 msgid "Create an index column"
172 msgstr "インデックスカラムを作成"
173
174 msgid "Groonga provides index column for fast search. It doesn't store your data. It stores data for fast search."
175 msgstr "Groongaは高速に検索する用途としてインデックスカラムを提供しています。インデックスカラムはあなたのデータを保存しません。インデックスカラムは高速な検索に必要なデータを保存します。"
176
177 msgid "You don't need to update index column by yourself. Index column is updated automatically when you store data into a data column (scalar column or vector column) that is marked as index target column. You can set multiple columns as index target columns to one index column."
178 msgstr "インデックスカラムは自分で更新する必要はありません。インデックス対象のデータカラム(スカラーカラムまたはベクターカラム)にデータを入れると、インデックスカラムは自動で更新されます。1つのインデックスカラムに複数のインデックス対象のカラムを指定することもできます。"
179
180 msgid "If you make a new index, it is invisible until finishing of index build."
181 msgstr "新規にインデックスを作成する場合、インデックスの構築が完了するまで、そのインデックスは無視されます。"
182
183 msgid "If Groonga has an index column for the ``age`` column of the ``People`` table, Groonga can do fast equal search, fast comparison search and fast range search against ``age`` column values."
184 msgstr "もし、 ``People`` テーブルの ``age`` カラム用のインデックスカラムがあると、 ``age`` カラムの値に対する完全一致検索・比較検索・範囲検索を高速に処理することができます。"
185
186 msgid "You must specify the following parameters to create an index column:"
187 msgstr "インデックスカラムを作成するには次のパラメーターを指定します。"
188
189 msgid "The ``flags`` parameter: ``COLUMN_INDEX``"
190 msgstr "``flags`` パラメーター: ``COLUMN_INDEX``"
191
192 msgid "The ``type`` parameter: The table name of index target column such as ``People``"
193 msgstr "``type`` パラメーター: インデックス対象カラムのテーブル名(たとえば ``People`` )"
194
195 msgid "The ``source`` parameter: The index target column name such as ``age``"
196 msgstr "``source`` パラメーター:インデックス対象カラム名(たとえば ``age`` )"
197
198 msgid "You don't need additional flags to the ``flags`` parameter for equal search, comparison search and range search index column. You need additional flags to the ``flags`` parameter for full text search index column or multiple column index column. See :ref:`column-create-index-full-text-search` and :ref:`column-create-index-multiple-columns` for details."
199 msgstr "完全一致検索・比較検索・範囲検索用のインデックスカラムには ``flags`` パラメーターに追加のフラグは必要ありません。全文検索用のインデックスカラム、マルチカラムインデックスカラムには追加のフラグが必要になります。詳細は :ref:`column-create-index-full-text-search` と :ref:`column-create-index-multiple-columns` を見てください。"
200
201 msgid "Here is an example to create an index column for the ``age`` column of the ``People`` table."
202 msgstr "以下は ``People`` テーブルの ``age`` カラム用のインデックスカラムを作成する例です。"
203
204 msgid "First, you need to create a table for range index column. See :ref:`table-create-range-index-table` for details. This example creates the ``Ages`` table as :ref:`table-pat-key`:"
205 msgstr "はじめに範囲インデックスカラム用のテーブルを作成します。詳細は :ref:`table-create-range-index-table` を見てください。この例では :ref:`table-pat-key` として ``Ages`` テーブルを作成します。"
206
207 msgid "Now, you can create an index column for the ``age`` column of the ``People`` table. ``COLUMN_INDEX`` in the ``flags`` parameter, ``People`` in the ``type`` parameter and ``age`` in the ``source`` parameter are important:"
208 msgstr "これで ``People`` テーブルの ``age`` カラム用のインデックスカラムを作れるようになりました。 ``flags`` パラメーターの ``COLUMN_INDEX`` 、 ``type`` パラメーターの ``People`` 、 ``source`` パラメーターの ``age`` がポイントです。"
209
210 msgid "You can confirm that ``age > 5`` is evaluated by the ``Ages.people_age_index`` newly created index column from log. Groonga reports used index columns in ``info`` log level. You can change log level dynamically by :doc:`log_level` command."
211 msgstr "ログを確認すると、新しく作成した ``Ages.people_age_index`` インデックスカラムを使って ``age > 5`` を評価していることがわかります。Groongaは使用したインデックスカラムを ``info`` ログレベルでログに出力します。ログレベルは :doc:`log_level` コマンドを使うと動的に変更できます。"
212
213 msgid "You can confirm that the ``Ages.people_age_index`` is used from the following log::"
214 msgstr "以下のログから ``Ages.people_age_index`` が使われたことを確認できます。"
215
216 msgid "The log says ``Ages.people_age_index`` index column is used for range search."
217 msgstr "このログは範囲検索に ``Ages.people_age_index`` インデックスカラムを使ったことを示しています。"
218
219 msgid "Create an index column for full text search"
220 msgstr "全文検索用のインデックスカラムを作成"
221
222 msgid "There is a difference between for non full text search (equal search, comparison search or range search) index column and for full text search index column. You need to add ``WITH_POSITION`` to the ``flags`` parameter. It means that you need to specify ``COLUMN_INDEX|WITH_POSITION`` to the ``flags`` parameter. It's the difference."
223 msgstr "非全文検索(完全一致検索・比較検索・範囲検索)用インデックスカラムと全文検索用インデックスカラムには1つ違いがあります。全文検索用インデックスカラムでは ``flags`` パラメーターに ``WITH_POSITION`` を追加する必要があります。つまり、 ``flags`` パラメーターに ``COLUMN_INDEX|WITH_POSITION`` を指定するということです。これが違いです。"
224
225 msgid "Here is an example to create a full text search index column for the key of the ``People`` table."
226 msgstr "以下は ``People`` テーブルのキー用の全文検索インデックスカラムを作成する例です。"
227
228 msgid "First, you need to create a table for full text search index column. See :ref:`table-create-lexicon` for details. This example creates the ``Terms`` table as :ref:`table-pat-key` with :ref:`token-bigram` tokenizer and :ref:`normalizer-auto` normalizer:"
229 msgstr "はじめに全文検索インデックスカラム用のテーブルを作成します。詳細は :ref:`table-create-lexicon` を見てください。この例では :ref:`table-pat-key` に :ref:`token-bigram` トークナイザーと :ref:`normalizer-auto` ノーマライザーを指定した ``Terms`` テーブルを作成しています。"
230
231 msgid "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:"
232 msgstr "これで ``Poeple`` テーブルのキー用の全文検索インデックスカラムを作成できるようになりました。 ``flags`` パラメーターの ``COLUMN_INDEX|WITH_POSITION`` 、 ``type`` パラメーターの ``People`` 、 ``source`` パラメーターの ``_key`` がポイントです。"
233
234 msgid "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."
235 msgstr "ログを確認すると、新しく作成した ``Terms.people_key_index`` 全文検索インデックスカラムで ``--match_columns _key`` と ``--query Alice`` を処理していることがわかります。Groongaは使用したインデックスカラムを ``info`` ログレベルでログに出力します。ログレベルは :doc:`log_level` コマンドを使うと動的に変更できます。"
236
237 msgid "You can confirm that the ``Terms.people_key_index`` is used from the following log::"
238 msgstr "以下のログから ``Terms.people_key_index`` を使ったことを確認できます。"
239
240 msgid "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.)"
241 msgstr "このログは全文検索に ``Terms.people_key_index`` インデックスカラムを使ったことを示しています。(正確に言うと転置索引を使った完全一致検索にこのインデックスカラムを使っています。)"
242
243 msgid "Create a multiple columns index column"
244 msgstr "マルチカラムインデックスカラムを作成"
245
246 msgid "You can create an index column for multiple columns. It means that you can do fast search for multiple columns with one index column. Multiple columns index column has better space efficiency than single column index column only when multiple columns have many same tokens. Multiple columns index column may be slower than single column index column. Because multiple columns index column will be a bigger index column."
247 msgstr "複数のカラム用のインデックスカラムを作成できます。これは1つのインデックスカラムで複数のカラムに対して高速に検索できるということです。インデックス対象の複数のカラムが多くの同じトークンを共有しているときは、マルチカラムインデックスカラムはシングルカラムインデックスカラムよりも空間効率がよくなります。一方、検索速度はシングルカラムインデックスカラムの方が速くなることが多いです。理由はマルチカラムインデックスカラムは大きくなりがちだからです。"
248
249 msgid "You can't use multiples columns in different tables as index target columns in the same multiple columns index column. You must specify columns in the same tables as index target columns to one multiple columns index column. For example, you can't create a multiple columns index for ``People._key`` and ``Books._key`` because they are columns of different tables. You can create a multiple columns index column for ``People._key`` and ``People.roles`` because they are columns of the same table."
250 msgstr "1つのマルチカラムインデックスカラムで、異なるテーブルの複数のカラムをインデックス対象にすることはできません。1つのマルチカラムインデックスカラムでは同じテーブルの複数のカラムをインデックス対象に指定してください。たとえば、 ``People._key`` と ``Books._key`` をインデックス対象としたマルチカラムインデックスカラムは作成できません。なぜなら、違うテーブルのカラムだからです。 ``People._key`` と ``People.roles`` をインデックス対象としたマルチカラムインデックスカラムは作成できます。なぜなら同じテーブルのカラムだからです。"
251
252 msgid "There is a difference between for single column index column and for multiple columns index column. You need to add ``WITH_SECTION`` to the ``flags`` parameter. It means that you need to specify ``COLUMN_INDEX|WITH_SECTION`` to the ``flags`` parameter. It's the difference."
253 msgstr "シングルカラムインデックスカラムとマルチカラムインデックスカラムでは違いがあります。マルチカラムインデックスカラムのときは ``flags`` パラメーターに ``WITH_SECTION`` を追加しなければいけません。つまり、 ``flags`` パラメーターに ``COLUMN_INDEX|WITH_SECTION`` と指定するということです。これが違いです。"
254
255 msgid "If you want to create a multiple columns index column for full text search, you need to specify ``COLUMN_INDEX|WITH_POSITION|WITH_SECTION`` to the ``flags`` parameter. See :ref:`column-create-index-full-text-search` for full text search index column details."
256 msgstr "全文検索用のマルチカラムインデックスカラムを作成する場合は ``flags`` パラメーターに ``COLUMN_INDEX|WITH_POSITION|WITH_SECTION`` と指定します。全文検索インデックスカラムの詳細は :ref:`column-create-index-full-text-search` を見てください。"
257
258 msgid "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."
259 msgstr "以下は ``People`` テーブルのキーと ``roles`` カラム用のマルチカラムインデックスカラムを作成する例です。"
260
261 msgid "There is no difference between index table for single column index column and multiple columns index column."
262 msgstr "インデックス用のテーブルは、シングルカラムインデックスとマルチカラムインデックスカラムで違いはありません。"
263
264 msgid "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."
265 msgstr "この例では、完全一致検索と前方一致検索用に ``Names`` テーブルを作りました。このテーブルは ``TABLE_PAT_KEY`` を使っています。なぜなら ``TABLE_PAT_KEY`` は前方一致検索をサポートしているからです。詳細は :doc:`../tables` を参照してください。"
266
267 msgid "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:"
268 msgstr "``People`` テーブルのキーと ``roles`` カラム用のマルチカラムインデックスカラムを作成します。 ``flags`` パラメーターの ``COLUMN_INDEX|WITH_SECTION`` 、 ``type`` パラメーターの ``People`` 、 ``source`` パラメーターの ``_key,roles`` がポイントです。"
269
270 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."
271 msgstr "ログを確認すると、新しく作成した ``Names.people_key_roles_index`` インデックスカラムを使って ``--filter 'roles @^ \"Younger\"`` を評価していることがわかります。Groongaは使用したインデックスカラムを ``info`` ログレベルでログに出力します。ログレベルは :doc:`log_level` コマンドを使うと動的に変更できます。"
272
273 msgid "You can confirm that the ``Names.people_key_roles_index`` is used from the following log::"
274 msgstr "以下のログから ``Names.people_key_roles_index`` を使ったことを確認できます。"
275
276 msgid "The log says ``Names.people_key_roles_index`` index column is used for prefix search."
277 msgstr "このログは前方一致検索に ``Names.people_key_roles_index`` インデックスカラムを使ったことを示しています。"
278
279 msgid "Create a small index column"
280 msgstr "小さなインデックスカラムを作成"
281
282 msgid "If you know index target data are small, you can reduce memory usage for the index column. Memory usage is ``1/256`` of the default index column."
283 msgstr "もし、インデックス対象のデータが小さいことがわかっているならインデックスカラムが使用するメモリー量を減らせます。デフォルトのインデックスカラムと比べて ``1/256`` のメモリー使用量になります。"
284
285 msgid "How many data are small? It depends on data. Small index column can't handle 1 billion records at least. If index target is only one scalar column with no text family type (``ShortText``, ``Text`` or ``LongText``), the maximum handleable records are depends of the number of kinds of index target data. If index target column has ``1``, ``1``, ``2`` and ``3``, the number of kinds of them are ``3`` (``1`` and ``2`` and ``3``). The following table shows the relationship between the number of kinds of index target data and the number of handleable records:"
286 msgstr "ではどのくらいのデータなら小さいのでしょうか。それはデータによります。小さなインデックスカラムは少なくとも10億レコードを扱えません。もし、インデックス対象がテキスト系の型(``ShortText`` 、 ``Text`` 、 ``LongText`` のどれか)ではないスカラーカラムだけの場合、扱える最大レコード数はインデックス対象のデータの種類に依存します。もし、インデックス対象のカラムに ``1`` 、 ``1`` 、 ``2`` 、 ``3`` というデータが入っていたとすると、種類数は ``3`` ( ``1`` と ``2`` と ``3`` )になります。以下の表はインデックス対象データの種類数と扱える最大レコード数の関係を示しています。"
287
288 msgid "The number of kinds of index target data and the number of handleable records in a small index column"
289 msgstr "インデックス対象データの種類数と小さなインデックスカラムで扱えるレコード数"
290
291 msgid "The number of kinds of index target data"
292 msgstr "インデックス対象のデータの種類数"
293
294 msgid "The number of handleable records"
295 msgstr "処理できるレコード数"
296
297 msgid "1"
298 msgstr ""
299
300 msgid "16779234"
301 msgstr ""
302
303 msgid "2"
304 msgstr ""
305
306 msgid "4648070"
307 msgstr ""
308
309 msgid "4"
310 msgstr ""
311
312 msgid "7238996"
313 msgstr ""
314
315 msgid "8"
316 msgstr ""
317
318 msgid "8308622"
319 msgstr ""
320
321 msgid "16"
322 msgstr ""
323
324 msgid "11068624"
325 msgstr ""
326
327 msgid "32"
328 msgstr ""
329
330 msgid "12670817"
331 msgstr ""
332
333 msgid "64"
334 msgstr ""
335
336 msgid "18524211"
337 msgstr ""
338
339 msgid "128"
340 msgstr ""
341
342 msgid "38095511"
343 msgstr ""
344
345 msgid "256"
346 msgstr ""
347
348 msgid "51265384"
349 msgstr ""
350
351 msgid "You need to add ``INDEX_SMALL`` to the ``flags`` parameter such as ``COLUMN_INDEX|INDEX_SMALL`` to create a small index column."
352 msgstr "小さなインデックスカラムを作成するには ``COLUMN_INDEX|INDEX_SMALL`` というように ``flags`` パラメーターに ``INDEX_SMALL`` を追加します。"
353
354 msgid "If the ``People`` table has only 1 million records, you can use a small index column for the ``age`` column:"
355 msgstr "``People`` テーブルが100万レコードしかないなら、 ``age`` カラム用に小さなインデックスカラムを使うことができます。"
356
357 msgid "Create a medium index column"
358 msgstr "中サイズのインデックスカラムを作成"
359
360 msgid "If you know index target data are medium, you can reduce memory usage for the index column. Memory usage is ``5/24`` of the default index column."
361 msgstr "インデックス対象のデータが中サイズならインデックスカラムが使うメモリー使用量を減らすことができます。デフォルトのインデックスカラムよりも ``5/24`` のメモリー使用量になります。"
362
363 msgid "How many data are medium? It depends on data."
364 msgstr "どのくらいのデータが中サイズのデータでしょうか。それはデータによります。"
365
366 msgid "If index target is only one scalar column, a medium index column can handle all records."
367 msgstr "もし、インデックス対象がスカラーカラム1つだけであれば、中サイズのインデックスカラムはすべてのレコードを処理できます。"
368
369 msgid "A medium index column may not handle all records at the following cases:"
370 msgstr "以下のケースでは中サイズのインデックスカラムはすべてのレコードを処理できないかもしれません。"
371
372 msgid "Index target is one text family (``ShortText``, ``Text`` or ``LongText``) scalar column"
373 msgstr "インデックス対象がテキスト系の型( ``ShortText`` 、 ``Text`` 、 ``LongText`` のどれか)のスカラーカラム1つ"
374
375 msgid "Index target is one vector column"
376 msgstr "インデックス対象がベクターカラム1つ"
377
378 msgid "Index targets are multiple columns"
379 msgstr "インデックス対象が複数のカラム"
380
381 msgid "Index table has tokenizer"
382 msgstr "インデックステーブルにトークナイザーが付いている"
383
384 msgid "You need to add ``INDEX_MEDIUM`` to the ``flags`` parameter such as ``COLUMN_INDEX|INDEX_MEDIUM`` to create a medium index column."
385 msgstr "中サイズのインデックスカラムを作成するには ``COLUMN_INDEX|INDEX_MEDIUM`` というように ``flags`` パラメーターに ``INDEX_MEDIUM`` を追加します。"
386
387 msgid "You can use a medium index column for an index column of the ``age`` column of the ``People`` table safely. Because it's one scalar column with ``UInt8`` type."
388 msgstr "``People`` テーブルの ``age`` カラム用のインデックスカラムであれば中サイズのインデックスカラムでも安全です。なぜなら、 ``UInt8`` 型のスカラーカラム1つだからです。"
389
390 msgid "Here is an example to create a medium index column:"
391 msgstr "以下は中サイズのインデックスカラムを作る例です。"
392
393 msgid "Create a large index column"
394 msgstr "大きなインデックスカラムを作成"
395
396 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."
397 msgstr "もし、インデックス対象のデータが大きいことがわかっているなら大きなインデックスカラムを使わなければいけません。このインデックスカラムが使用するメモリー量が増えますが、より多くのデータを扱えます。デフォルトのインデックスカラムと比べて2倍のメモリー使用量になります。"
398
399 msgid "How many data are large? It depends on data."
400 msgstr "どのくらいのデータが大きなデータでしょうか。それはデータによります。"
401
402 msgid "If index target is only one scalar column, it's not large data."
403 msgstr "もし、インデックス対象がスカラーカラム1つだけであれば、大きくありません。"
404
405 msgid "Large data must have many records (normally at least 10 millions records) and at least one of the following features:"
406 msgstr "大きなデータは大量のレコード(通常は少なくとも1000万レコード以上)があり、少なくとも次のうちの1つ以上の特徴があります。"
407
408 msgid "You need to add ``INDEX_LARGE`` to the ``flags`` parameter such as ``COLUMN_INDEX|INDEX_LARGE`` to create a large index column."
409 msgstr "大きなインデックスカラムを作成するには ``COLUMN_INDEX|INDEX_LARGE`` というように ``flags`` パラメーターに ``INDEX_LARGE`` を追加します。"
410
411 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."
412 msgstr "以下は ``People`` テーブルのキーと ``roles`` カラム用に大きなインデックスカラムを作成する例です。"
413
414 msgid "Here is an example to create a large index column:"
415 msgstr "以下は大きなインデックスカラムを作る例です。"
416
417 msgid "Missing mode"
418 msgstr "ミッシングモード"
419
420 msgid "You can control how to process a nonexistent key in the specified new value of a reference column by a ``MISSING_*`` flag. Here are available ``MISSING_*`` flags:"
421 msgstr "``MISSING_*`` フラグを使うと参照カラムに指定した新しい値に存在しないキーがあったときにどう処理するかを制御できます。指定できる ``MISSING_*`` フラグは次のとおりです。"
422
423 msgid "``MISSING_ADD`` (default)"
424 msgstr "``MISSING_ADD`` (デフォルト)"
425
426 msgid "``MISSING_IGNORE``"
427 msgstr ""
428
429 msgid "``MISSING_NIL``"
430 msgstr ""
431
432 msgid "You can't specify multiple ``MISSING_*`` flags for a column."
433 msgstr "1つのカラムに複数の ``MISSING_*`` フラグを指定することはできません。"
434
435 msgid "``MISSING_*`` flags are meaningful only for a reference column."
436 msgstr "``MISSING_*`` フラグは参照カラムでのみ意味があります。"
437
438 msgid "The following table describes the differences between ``MISSING_*`` flags when a nonexistent key is specified to a reference scalar column:"
439 msgstr "次の表は参照スカラーカラムに存在しないキーを指定したときに ``MISSING_*`` フラグでどのような違いがあるかを説明しています。"
440
441 msgid "Flag"
442 msgstr "フラグ"
443
444 msgid "Description"
445 msgstr "説明"
446
447 msgid "An example given value"
448 msgstr "指定された値の例"
449
450 msgid "An example set value"
451 msgstr "セットされた値の例"
452
453 msgid "``MISSING_ADD``"
454 msgstr ""
455
456 msgid "The given nonexistent key is added to the referred table automatically and the ID of the newly added record is set."
457 msgstr "指定された存在しないキーは参照されているテーブルに自動で追加されます。新しく追加されたレコードのIDが値としてセットされます。"
458
459 msgid "This is the default."
460 msgstr "これがデフォルトです。"
461
462 msgid "``\"nonexistent\"``"
463 msgstr ""
464
465 msgid "The record ID of the newly added record whose key is ``\"nonexistent\"``."
466 msgstr "キーの値が ``\"nonexistent\"`` の新しく追加されたレコードのID。"
467
468 msgid "The given nonexistent key is ignored and ``0`` is set."
469 msgstr "指定された存在しないキーは無視され、 ``0`` がセットされます。"
470
471 msgid "There is no difference between ``MISSING_IGNORE`` and ``MISSING_NIL`` for a reference scalar column."
472 msgstr "参照スカラーカラムでは ``MISSING_IGNORE`` と ``MISSING_NIL`` に違いはありません。"
473
474 msgid "``0``"
475 msgstr ""
476
477 msgid "Here is an example to show differences between ``MISSING_*`` flags for a reference scalar column."
478 msgstr "次の例は参照スカラーカラムが ``MISSING_*`` フラグでどう変わるかを示す例です。"
479
480 msgid "First this example defines columns for all ``MISSING_*`` flags:"
481 msgstr "最初に、この例ではすべての ``MISSING_*`` フラグ用のカラムをそれぞれ定義します。"
482
483 msgid "Then this example loads nonexistent keys to all columns. The specified nonexistent key for ``MISSING_ADD`` is only added to ``MissingModeScalarReferred`` automatically and the specified nonexistent keys for ``MISSING_IGNORE`` and ``MISSING_NIL`` aren't added to ``MissingModeScalarReferred``. ``missing_ignore``'s value and ``missing_nil``'s value are showed as ``\"\"`` because they refer a record whose ID is ``0`` and record whose ID is ``0`` never exist:"
484 msgstr "それから、この例では存在しないキーをすべてのカラムにロードします。 ``MISSING_ADD`` 付きのカラムに指定した存在しないキーだけが自動的に ``MissingModeScalarReferred`` に追加されます。 ``MISSING_IGNORE`` と ``MISSING_NIL`` 付きのカラムに指定した存在しないキーは ``MissingModeScalarReferred`` に追加されません。 ``missing_ignore`` の値と ``missing_nil`` の値は ``\"\"`` と表示されます。なぜなら、これらのカラムの値はIDが ``0`` のレコードを参照しているからです。IDが ``0`` のレコードは必ず存在しないのでキーが存在しません。そのため、 ``\"\"`` と表示されます。"
485
486 msgid "The following table describes the differences between ``MISSING_*`` flags when a vector value that has a nonexistent key element is specified to a reference vector column:"
487 msgstr "次の表は参照ベクターカラムに存在しないキーを含むベクターを指定したときに ``MISSING_*`` フラグでどのような違いがあるかを説明します。"
488
489 msgid "The given nonexistent key is added to the referred table automatically and the ID of the newly added record is used for the element."
490 msgstr "指定された存在しないキーは参照されているテーブルに自動的に追加されます。その要素の値は新しく追加されたレコードのIDになります。"
491
492 msgid "``[\"existent1\", \"nonexistent\", \"existent2\"]``"
493 msgstr ""
494
495 msgid "The record IDs of ``\"existent1\"``, ``\"nonexistent\"`` and ``\"existent2\"``."
496 msgstr "``\"existent1\"`` と ``\"nonexistent\"`` と ``\"existent2\"`` のレコードのIDです。"
497
498 msgid "The given nonexistent key element is ignored."
499 msgstr "指定された存在しないキーの要素は無視されます。"
500
501 msgid "The record IDs of ``\"existent1\"`` and ``\"existent2\"``."
502 msgstr "``\"existent1\"`` と ``\"existent2\"`` のレコードIDです。"
503
504 msgid "If ``INVALID_WARN`` or ``INVALID_IGNORE`` are also specified, the element is replaced with ``0``. If ``INVALID_ERROR`` is specified or no ``INVALID_*`` are specified, the element is ignored."
505 msgstr "``INVALID_WARN`` あるいは ``INVALID_IGNORE`` も指定している場合は、この要素は ``0`` に置き換えられます。もし、 ``INVALID_ERROR`` を指定しているあるいはなにも ``INVALID_*`` を指定していない場合は、この要素は無視されます。"
506
507 msgid "See also :ref:`column-create-invalid-mode`."
508 msgstr ":ref:`column-create-invalid-mode` も参照してください。"
509
510 msgid "The record ID of ``\"existent1\"`` and ``0`` and the record ID of ``\"existent2\"`` for ``INVALID_WARN`` and ``INVALID_IGNORE``."
511 msgstr "``INVALID_WARN`` と ``INVALID_IGNORE`` の場合は ``\"existent1\"`` のレコードIDと ``0`` と ``\"existent2\"`` のレコードIDです。"
512
513 msgid "The record IDs of ``\"existent1\"`` and ``\"existent2\"`` for ``INVALID_ERROR`` and no ``INVALID_*``."
514 msgstr "``INVALID_ERROR`` を指定している場合となにも ``INVALID_*`` を指定していない場合は ``\"existent1\"`` と ``\"existent2\"`` のレコードIDです。"
515
516 msgid "Here is an example to show differences between ``MISSING_*`` flags for a reference vector column."
517 msgstr "次の例は参照ベクターカラムに ``MISSING_*`` フラグを指定したときの違いを示しています。"
518
519 msgid "Then this example loads a vector that includes a nonexistent key to all columns. The specified nonexistent key for ``MISSING_ADD`` is only added to ``MissingModeVectorReferred`` automatically and the specified nonexistent keys for ``MISSING_IGNORE`` and ``MISSING_NIL`` aren't added to ``MissingModeVectorReferred``. The specified nonexistent key element is removed from ``missing_ignore``'s value. The specified nonexistent key element is replaced with ``0`` in ``missing_nil``'s value because ``INVALID_IGNORE`` is also specified. And the element replaced with ``0`` is showed as ``\"\"`` because it refers a record whose ID is ``0`` and record whose ID is ``0`` never exist:"
520 msgstr "それからこの例はすべてのカラムに存在しないキーを含むベクターを設定します。 ``MISSING_ADD`` を指定したカラムの場合だけ、存在しないキーは自動的に ``MissingModeVectorReferred`` に追加されます。 ``MISSING_IGNORE`` と ``MISSING_NIL`` を指定したカラムの場合は ``MissingModeVectorReferred`` には追加されません。 ``missing_ignore`` の値では存在しないキーの要素は削除されます。 ``missing_nil`` の値では存在しないキーの要素は ``0`` に置き換えられます。なぜなら ``INVALID_IGNORE`` も指定されているからです。 ``0`` に置き換えられた要素は ``\"\"`` と表示されます。なぜならこの要素はID ``0`` のレコードを参照することになるからです。IDが ``0`` のレコードは必ず存在しないのでキーが存在しません。そのため ``\"\"`` と表示されます。"
521
522 msgid "Invalid mode"
523 msgstr "不正モード"
524
525 msgid "You can control how to process an invalid value in the specified new value of a data column by a ``INVALID_*`` flag. Here are available ``INVALID_*`` flags:"
526 msgstr "``INVALID_*`` フラグを使うことでデータカラムに指定した新しい値に不正な値があったときにどう処理するかを制御できます。指定できる ``INVALID_*`` フラグは次のとおりです。"
527
528 msgid "``INVALID_ERROR`` (default)"
529 msgstr "``INVALID_ERROR`` (デフォルト)"
530
531 msgid "``INVALID_WARN``"
532 msgstr ""
533
534 msgid "``INVALID_IGNORE``"
535 msgstr ""
536
537 msgid "You can't specify multiple ``INVALID_*`` flags for a column."
538 msgstr "1つのカラムに複数の ``INVALID_*`` フラグを指定することはできません。"
539
540 msgid "``INVALID_*`` flags are meaningful only for a ``COLUMN_SCALAR`` column and a ``COLUMN_VECTOR`` column."
541 msgstr "``INVALID_*`` フラグは ``COLUMN_SCALAR`` と ``COLUMN_VECTOR`` でだけ使えます。"
542
543 msgid "If the target column is a reference column, an invalid value depends on :ref:`column-create-missing-mode`. If you specify ``MISSING_IGNORE`` or ``MISSING_NIL``, a nonexistent key is an invalid value. Note that an empty string key and string keys that are empty strings by normalization aren't an invalid value with all ``MISSING_*`` flags. They are special."
544 msgstr "対象のカラムが参照カラムの場合、どんな値が不正かどうかは :ref:`column-create-missing-mode` に依ります。もし、 ``MISSING_IGNORE`` あるいは ``MISSING_NIL`` を指定している場合は存在しないキーは不正な値です。ただし、空文字列キーあるいはノーマライズするとから文字列になるキーはどの ``MISSING_*`` フラグの値でも不正ではありません。これらは特別です。"
545
546 msgid "If the target column isn't a reference column, an invalid value depends on column's value type. For example, ``\"invalid\"`` is an invalid value for an ``Int32`` scalar column."
547 msgstr "対象のカラムが参照カラムでない場合はどんな値が不正かどうかはカラムの値の型に依ります。たとえば、 ``Int32`` スカラーカラムでは ``\"invalid\"`` は不正な値です。"
548
549 msgid "The following table describes the differences between ``INVALID_*`` flags when an invalid value is specified to an ``Int32`` scalar column:"
550 msgstr "次の表は ``Int32`` スカラーカラムに不正な値を指定したときに ``INVALID_*`` フラグでどんな違いがあるかを説明します。"
551
552 msgid "``INVALID_ERROR``"
553 msgstr ""
554
555 msgid "The given invalid value is reported as an error in :ref:`process-log` and by :doc:`load`."
556 msgstr "指定された不正な値は :ref:`process-log` にエラーとして記録され、 :doc:`load` もエラーを返します。"
557
558 msgid "The given invalid value isn't set."
559 msgstr "指定された不正な値はセットされません。"
560
561 msgid "``\"invalid\"``"
562 msgstr ""
563
564 msgid "The column isn't updated."
565 msgstr "このカラムは更新されません。"
566
567 msgid "The given invalid value is reported as a warning in :ref:`process-log`."
568 msgstr "指定された不正な値は :ref:`process-log` に警告として記録されます。"
569
570 msgid "The given invalid value is replaced with the default value of the target scalar column. For example, ``0`` is the default value for an ``Int32`` scalar column."
571 msgstr "指定された不正な値は対象のスカラーカラムのデフォルト値に置き換えられます。たとえば、 ``Int32`` スカラーカラムでは ``0`` がデフォルト値です。"
572
573 msgid "The given invalid value is ignored."
574 msgstr "指定された不正な値はセットされません。"
575
576 msgid "Here is an example to show differences between ``INVALID_*`` flags for an ``Int32`` scalar column."
577 msgstr "次の例は ``Int32`` スカラーカラムで ``INVALID_*`` のフラグでどんな違いがあるかを示します。"
578
579 msgid "First this example defines columns for all ``INVALID_*`` flags:"
580 msgstr "最初にこの例はすべての ``INVALID_*`` フラグ用のカラムをそれぞれ定義します。"
581
582 msgid "Then this example loads ``29`` as initial values for all columns to show differences between them on update:"
583 msgstr "それからこの例は初期値としてすべてのカラムに ``29`` をロードします。これは更新時でどのような違いがあるかを示すためです。"
584
585 msgid "Then this example update existing column values with invalid values. The specified invalid value is reported as an error by :doc:`load` only with ``INVALID_ERROR``. And the existing value isn't updated only with ``INVALID_ERROR``. The existing value is updated with ``0`` with ``INVALID_WARN`` and ``INVALID_IGNORE``. You can't see differences between ``INVALID_WARN`` and ``INVALID_IGNORE`` with this example but a warning message is logged in :ref:`process-log` only with ``INVALID_WARN``:"
586 msgstr "それからこの例は不正な値で既存のカラムの値を更新します。指定された不正な値は ``INVALID_ERROR`` のときだけ :doc:`load` はエラーを返します。そして ``INVALID_ERROR`` のときだけ既存の値は更新されません。 ``INVALID_WARN`` と ``INVALID_IGNORE`` のときは既存の値は ``0`` で更新されます。この例では ``INVALID_WARN`` と ``INVALID_IGNORE`` の違いはわかりませんが、 ``INVALID_WARN`` のときだけ :ref:`process-log` に警告メッセージが記録されています。"
587
588 msgid "The following table describes the differences between ``INVALID_*`` flags when a vector value that has an invalid element is specified to an ``Int32`` vector column:"
589 msgstr "次の表は ``Int32`` ベクターカラムに不正な要素を含むベクターを設定したときに ``INVALID_*`` フラグによってどのような違いがあるかを説明します。"
590
591 msgid "The given invalid element is reported as an error in :ref:`process-log` but :doc:`load` doesn't report an error."
592 msgstr "指定された不正な要素は :ref:`process-log` にエラーとして記録されますが、 :doc:`load` はエラーを返しません。"
593
594 msgid "If the target column is a reference vector column and ``MISSING_NIL`` flag is specified, invalid elements are replaced with ``0``. Invalid elements are ignored otherwise."
595 msgstr "もし対象のカラムが参照ベクターカラムで ``MISSING_NIL`` フラグが指定されていた場合は、不正な要素は ``0`` に置き換えられます。それ以外のフラグの場合は不正な要素は無視されます。"
596
597 msgid "``[1, \"invalid\", 3]``"
598 msgstr ""
599
600 msgid "``[1, 3]``"
601 msgstr ""
602
603 msgid "The given invalid element is reported as a warning in :ref:`process-log`."
604 msgstr "指定された不正な要素は :ref:`process-log` に警告として記録されます。"
605
606 msgid "The given invalid element is ignored."
607 msgstr "指定された不正な要素は無視されます。"
608
609 msgid "Here is an example to show differences between ``INVALID_*`` flags for a reference vector column."
610 msgstr "次の例は参照ベクターカラムでは ``INVALID_*`` フラグでどのような違いがあるかを示します。"
611
612 msgid "Then this example loads a vector that includes an invalid element to all columns. The all specified invalid elements are ignored regardless of ``INVALID_*`` flags. Messages in :ref:`process-log` are different by ``INVALID_*`` flags. If ``INVALID_ERROR`` is specified, an error message is logged in :ref:`process-log`. If ``INVALID_WARN`` is specified, a warning message is logged in :ref:`process-log`. ``INVALID_IGNORE`` is specified, no message is logged in :ref:`process-log`:"
613 msgstr "それからこの例は不正な要素を含むベクターをすべてのカラムにロードします。すべての指定された不正な要素は ``INVALID_*`` フラグによらず無視されます。 :ref:`process-log` 内のメッセージは ``INVALID_*`` フラグによって違います。 ``INVALID_ERROR`` を指定している場合は :ref:`process-log` にエラーメッセージが記録されます。 ``INVALID_WARN`` を指定している場合は :ref:`process-log` に警告メッセージが記録されます。 ``INVALID_IGNORE`` を指定している場合は :ref:`process-log` にメッセージは記録されません。"
614
615 msgid "Create a generated column"
616 msgstr "自動生成カラムを作成"
617
618 msgid "You can generate a column value from other column value automatically. You can use an expression in :doc:`../grn_expr/script_syntax` how to generate a column value."
619 msgstr "他のカラムの値からカラムの値を自動で生成することができます。どのようにカラムの値を生成するかは :doc:`../grn_expr/script_syntax` の式で指定できます。"
620
621 msgid "Here is an example how to define a generated column:"
622 msgstr "以下は自動生成カラムの定義例です。"
623
624 msgid "``Posts.title_text`` is a generated column. Its value is generated from a value of ``Posts.title_html``. ``--source title_html`` and ``--generator 'html_untag(title_html)'`` are the important parts."
625 msgstr "``Posts.title_text`` が自動生成カラムです。この値は ``Posts.title_html`` の値から生成されます。 ``--source title_html`` と ``--generator 'html_untag(title_html)'`` が重要なところです。"
626
627 msgid "``--source title_html`` means that ``Posts.title_text`` uses ``Posts.title_html`` as source."
628 msgstr "``--source title_html`` は ``Posts.title_text`` はソースとして ``Posts.title_html`` を使うという意味です。"
629
630 msgid "``--generator 'html_untag(title_html)'`` means that ``Posts.title_text`` value is generated by evaluating ``html_untag(title_html)``. :doc:`../functions/html_untag` is a function that removes HTML tags from HTML text. ``html_untag(\"Hello <em>Groonga</em>\")`` returns ``\"Hello Groonga\"``."
631 msgstr "``--generator 'html_untag(title_html)'`` は ``Posts.title_text`` の値は ``html_untag(title_html)`` を評価することで生成するという意味です。 :doc:`../functions/html_untag` はHTMLテキストからHTMLタグを除去する関数です。 ``html_untag(\"Hello <em>Groonga</em>\")`` は ``\"Hello Groonga\"`` を返します。"
632
633 msgid "Let's load a value to ``Posts.title_html`` and see ``Posts.title_text``:"
634 msgstr "``Posts.title_html`` に値をロードして ``Posts.title_text`` の値を見てみましょう。"
635
636 msgid "You can see ``Posts.title_text`` has ``\"Hello Groonga\"`` automatically."
637 msgstr "``Posts.title_text`` に自動で ``\"Hello Groonga\"`` が設定されていることを確認できます。"
638
639 msgid "Parameters"
640 msgstr "引数"
641
642 msgid "This section describes all parameters."
643 msgstr "このセクションではすべての引数について説明します。"
644
645 msgid "Required parameters"
646 msgstr "必須引数"
647
648 msgid "There are some required parameters."
649 msgstr "いくつか必須の引数があります。"
650
651 msgid "``table``"
652 msgstr ""
653
654 msgid "Specifies an existing table name for the new column."
655 msgstr "新しいカラムを追加する対象となる既存のテーブル名を指定します。"
656
657 msgid "``name``"
658 msgstr ""
659
660 msgid "Specifies the column name to be created."
661 msgstr "作成するカラム名を指定します。"
662
663 msgid "The column name must be unique in the same table."
664 msgstr "カラム名は同じテーブル内で一意でなければいけません。"
665
666 msgid "Here are available characters:"
667 msgstr "利用可能な文字は以下の通りです。"
668
669 msgid "``0`` .. ``9`` (digit)"
670 msgstr "``0`` .. ``9`` (数字)"
671
672 msgid "``a`` .. ``z`` (alphabet, lower case)"
673 msgstr "``a`` .. ``z`` (アルファベット。小文字)"
674
675 msgid "``A`` .. ``Z`` (alphabet, upper case)"
676 msgstr "``A`` .. ``Z`` (アルファベット。大文字)"
677
678 msgid "``#`` (hash)"
679 msgstr "``#`` (シャープ)"
680
681 msgid "``@`` (at mark)"
682 msgstr "``@`` (アットマーク)"
683
684 msgid "``-`` (hyphen)"
685 msgstr "``-`` (ハイフン)"
686
687 msgid "``_`` (underscore) (NOTE: Underscore can't be used as the first character.)"
688 msgstr "``_`` (アンダースコア)(注: 最初の文字としてアンダースコアを使うことはできません。)"
689
690 msgid "You need to create a name with one or more the above characters. Note that you can't use ``_`` as the first character such as ``_name``."
691 msgstr "上記の文字を1つ以上使って名前を決めます。 ``_name`` というように、最初の文字に ``_`` を使えないことに注意してください。"
692
693 msgid "``flags``"
694 msgstr ""
695
696 msgid "Specifies the column type and column customize options."
697 msgstr "カラムの種類とカラムをカスタマイズするオプションを指定します。"
698
699 msgid "Here are available flags:"
700 msgstr "指定可能なフラグは以下の通りです。"
701
702 msgid "``COLUMN_SCALAR``"
703 msgstr ""
704
705 msgid "Scalar column. It can store one value. See also :doc:`/reference/columns/scalar` or :ref:`column-create-scalar`."
706 msgstr "スカラーカラム。値を1つ保存できます。 :doc:`/reference/columns/scalar` あるいは :ref:`column-create-scalar` も見てください。"
707
708 msgid "``COLUMN_VECTOR``"
709 msgstr ""
710
711 msgid "Vector column. It can store multiple values. See also :doc:`/reference/columns/vector` or :ref:`column-create-vector`."
712 msgstr "ベクターカラム。複数の値を保存できます。 :doc:`/reference/columns/vector` あるいは :ref:`column-create-vector` も見てください。"
713
714 msgid "``COLUMN_INDEX``"
715 msgstr ""
716
717 msgid "Index column. It stores data for fast search. See also :doc:`/reference/columns/index` or :ref:`column-create-index`."
718 msgstr "インデックスカラム。高速に検索するためのデータを保存します。 :doc:`/reference/columns/index` あるいは :ref:`column-create-index` も見てください。"
719
720 msgid "``COMPRESS_ZLIB``"
721 msgstr ""
722
723 msgid "It enables column value compression by zlib. You need Groonga that enables zlib support."
724 msgstr "zlibを使ったカラム値圧縮機能を有効にします。zlibサポート付きのGroongaが必要です。"
725
726 msgid "Compression by zlib is higher space efficiency than compression by LZ4. But compression by zlib is slower than compression by LZ4."
727 msgstr "zlibを使った圧縮はLZ4を使った圧縮よりも空間効率がよいです。しかし、zlibを使った圧縮はLZ4を使った圧縮よりも遅いです。"
728
729 msgid "This flag is available only for ``COLUMN_SCALAR`` and ``COLUMN_VECTOR``."
730 msgstr "このフラグは ``COLUMN_SCALAR`` と ``COLUMN_VECTOR`` でだけ使えます。"
731
732 msgid "``COMPRESS_LZ4``"
733 msgstr ""
734
735 msgid "It enables column value compression by LZ4. You need Groonga that enables LZ4 support."
736 msgstr "LZ4を使ったカラム値圧縮機能を有効にします。LZ4サポート付きのGroongaが必要です。"
737
738 msgid "Compression by LZ4 is faster than compression by zlib. But compression by LZ4 is lower space efficiency than compression by zlib."
739 msgstr "LZ4を使った圧縮はzlibを使った圧縮よりも速いです。しかし、LZ4を使った圧縮はzlibを使った圧縮よりも空間効率が低いです。"
740
741 msgid "``COMPRESS_ZSTD``"
742 msgstr ""
743
744 msgid "It enables column value compression by Zstandard. You need Groonga that enables Zstandard support."
745 msgstr "Zstandardを使ったカラム値圧縮機能を有効にします。Zstandardサポート付きのGroongaが必要です。"
746
747 msgid "Compression by Zstandard is faster than compression by zlib and the same space efficiency as zlib."
748 msgstr "Zstandardを使った圧縮はzlibを使った圧縮よりも速いです。しかも、Zstandardを使った圧縮はzlibを使った圧縮と同程度の空間効率です。"
749
750 msgid "``COMPRESS_FILTER_SHUFFLE``"
751 msgstr ""
752
753 msgid "Here are a list of suitable data type for this filter."
754 msgstr "では、このフラグがどのようなデータに対して有効かを記載します。"
755
756 msgid "This flag reorganize data based on a element of Nth byte."
757 msgstr "このフラグはNバイト目の要素に着目してデータを並び替えます。"
758
759 msgid "First, 0th byte data of each element within the vector column would be gathered and be continuously placed. Then, 1st byte data would be handled as same as 0th byte data and all byte data would be as so repeatedly."
760 msgstr "まず、ベクターカラム内の各要素の0バイト目だけのデータを集めて連続で配置します。その後、同様に1バイト目のデータだけを集めて連続で配置するということをすべてのバイトに対して繰り返します。"
761
762 msgid "There are tendency for those compression algorithms such as ``COMPRESS_ZLIB``, ``COMPRESS_LZ4`` and ``COMPRESS_ZSTD`` to have the higher compression rate when the data has same values in continuance. The point for this flag is to produce data having same values in continuance by reorganizing data for every N byte."
763 msgstr "``COMPRESS_ZLIB`` や ``COMPRESS_LZ4`` や ``COMPRESS_ZSTD`` といった圧縮アルゴリズムは同じ値が連続しているデータだと圧縮率が高くなる傾向があります。"
764
765 msgid "In particular, it would work as below."
766 msgstr "具体的には、以下のように動作します。"
767
768 msgid "For example, there is the vector column ``[1, 1051, 515]`` in ``UInt16``. It would be as below representing in the little endien byte column."
769 msgstr "例えば、 ``UInt16`` のベクターカラム ``[1, 1051, 515]`` があるとします。 これをリトルエンディアンのバイト列で表現すると以下のようになります。"
770
771 msgid "This flag is to produce the data as following by gathering values of ``Byte 0``, then of ``Byte 1`` from the above data. The action to gather values with every N Byte would be called shuffle from now on. Shuffling the above data would be as below."
772 msgstr "このフラグは、上記の ``Byte 0`` の値をまとめ、その後 ``Byte 1`` のデータをまとめて、以下のようなデータを作るフラグです。この、Nバイト毎にまとめる操作を以後、シャッフルと呼びます。上記のデータをシャッフルすると以下のようになります。"
773
774 msgid "The point is whether there would be same values in continuance or not. Looking at the above example data, it is appeared to have no same values in continuance after shuffling. Those data are not suitable for this flag because it is not contributed to increase the compression rate even shuffling."
775 msgstr "ポイントは「同じ値が連続する箇所があるかどうか?」です。 上記の例を見てみると、シャッフル後のデータは同じ値が連続している箇所がありません。このようなデータでは、シャッフルしても圧縮率の向上に寄与しないため、このフラグを適用するには不向きなデータです。"
776
777 msgid "On the other hand, the vector column ``[1, 2, 3]`` in ``UInt16`` would be as following after shuffling. First for the explanation, ``[1, 2, 3]`` in ``UInt16`` would be represented as below in the little endien byte column."
778 msgstr "一方で、 ``UInt16`` のベクターカラム ``[1, 2, 3]`` というデータでは、シャッフルすると以下のようになります。まず、説明のため ``UInt16`` の ``[1, 2, 3]`` を以下のようなリトルエンディアンのバイト列表現にします。"
779
780 msgid "And, after shuffling ``[1, 2, 3]`` in ``UInt16``, the data would be as below."
781 msgstr "そして、 ``UInt16`` の ``[1, 2, 3]`` をシャッフルすると以下のようなデータになります。"
782
783 msgid "After shuffling ``[1, 2, 3]`` in ``UInt16``, the date in ``Byte 1`` would be all ``0x00``. It means there are same values in continuance. Thus, this data pattern is suitable for this flag because it would contribute to increase the compression rate."
784 msgstr "``UInt16`` の ``[1, 2, 3]`` というデータだと、シャッフル後に ``Byte 1`` のデータがすべて ``0x00`` になり、同じ値が連続することになります。したがって、このようなデータは圧縮率の向上に寄与するので、このフラグを適用するのに向いているデータです。"
785
786 msgid "In case of a floating-point number, the data having same the code part and the exponent part would be corresponded. In case of the IEEE 754 type single-precision floating-point format, code part would be placed at 31st bit, and exponent part would be placed at 32nd bit. There would be same values in continuance after shuffling the data if the code part and the upper 7 bit of exponent bit become same because the highest byte would be structured with the code part and the upper 7 bit of exponent bit."
787 msgstr "浮動小数点数であれば、符号と指数部が同じデータが該当します。IEEE 754 形式の単精度浮動小数点数の場合、符号は31ビット目に配置され、指数部は30ビット目から23ビット目に配置されます。符号ビットと指数部の上位7ビットで最上位のバイトが構成されるので符号ビットと指数部の上位7ビットが同じになれば、シャッフル後は同じ値が連続することになるからです。"
788
789 msgid "For example, the data, ``[0.5, 0.6]`` in ``Float32``, would have same code bit and exponent part by representing in Single-precision floating-point format in IEEE 754 type as below."
790 msgstr "例えば、 ``Float32`` の ``[0.5, 0.6]`` というデータは、IEEE 754 形式の単精度浮動小数点数で表現すると以下のように符号ビットと指数部が同一です。"
791
792 msgid "Shuffling the given data would have same values in continuance for ``Byte 3`` as below."
793 msgstr "これを、シャッフルすると以下のようになり、 ``Byte 3`` に同じ値が連続することになります。"
794
795 msgid "In case of the ``Float`` / ``Float32`` type data, please refer to explanations for ``COMPRESS_FILTER_TRUNCATE_PRECISION_1BYTE`` and ``COMPRESS_FILTER_TRUNCATE_PRECISION_2BYTES`` since it is also possible to combine ``COMPRESS_FILTER_TRUNCATE_PRECISION_1BYTE`` or ``COMPRESS_FILTER_TRUNCATE_PRECISION_2BYTES``."
796 msgstr "``Float`` / ``Float32`` 型のデータの場合は、 ``COMPRESS_FILTER_TRUNCATE_PRECISION_1BYTE`` または ``COMPRESS_FILTER_TRUNCATE_PRECISION_2BYTES`` を組み合わせて使うこともできるので、 ``COMPRESS_FILTER_TRUNCATE_PRECISION_1BYTE`` と ``COMPRESS_FILTER_TRUNCATE_PRECISION_2BYTES`` の説明も合わせて参照してください。"
797
798 msgid "``COMPRESS_FILTER_BYTE_DELTA``"
799 msgstr ""
800
801 msgid "Here is what kind of the data being effective for this flag."
802 msgstr "では、このフラグがどのようなデータに対して有効かを記載します。"
803
804 msgid "This flag is to calculate the difference between bytes of values to be compression targeted. As sample case of the vector column ``[1, 2, 3, 4, 5]`` in ``UInt8``, applying this flag would produce data would become ``[1, (2-1), (3-2), (4-3), (5-4)] = [1, 1, 1, 1, 1]``."
805 msgstr "このフラグは、圧縮対象の値のバイト間の差分を計算するフラグです。例えば ``UInt8`` のベクターカラム ``[1, 2, 3, 4, 5]`` というデータの場合、このフラグを適用すると ``[1, (2-1), (3-2), (4-3), (5-4)] = [1, 1, 1, 1, 1]`` というデータになります。"
806
807 msgid "As noted above, it is trying to increase the compression rate by calculating increments and producing same values in continuance. The point is there would be same values in continuance after calculating the increments between each elements."
808 msgstr "上記のように差分データを計算することで、同じ値が連続するデータを作り圧縮率を向上させることを狙っています。ポイントは、各要素間の差分を計算することで、同じ値が連続するデータを作り出すことにあります。"
809
810 msgid "Thus, the data is not suitable to use for this flag if there would not be same values in continuance after calculating the increments. Here is the list of data pattern to have same values in continuance after calculating increments."
811 msgstr "したがって、差分を計算しても同じ値が連続するデータを作り出すことができないデータは、このフラグを適用するには不向きなデータです。どのようなデータであれば、差分を計算して同じ値が連続するようになるのかを以下に記載します。"
812
813 msgid "First pattern would be the data increased with constant interval such as ``[1, 2, 3, 4, 5]`` in ``UInt8``. The constant interval could be every ``10`` for ``[1, 11, 21, 31, 41]`` in ``UInt8`` as long as the interval is same."
814 msgstr "まずは、前述の例でもあげた、 ``UInt8`` の ``[1, 2, 3, 4, 5]`` というような一定のペースで値が増加していくデータです。一定のペースなので、 ``UInt8`` の ``[1, 11, 21, 31, 41]`` のように ``10`` ずつ値が増加するようなデータでも良いです。"
815
816 msgid "Next pattern would be the data having same values in continuance such as ``[5, 5, 5, 5, 5]`` in ``UInt8``. There would be ``0`` in continuance after calculating the increments of this data. In opposite, ``[1, 255, 2, 200, 1]`` in ``UInt8`` is not suitable for this flag because the data would not have same value in continuance after calculating the increments."
817 msgstr "次に、 ``UInt8`` の ``[5, 5, 5, 5, 5]`` のように同じ値が連続するデータです。このデータは差分を計算すると ``[5, 0, 0, 0, 0]`` となり、 ``0`` が連続するようになります。逆に、 ``UInt8`` の ``[1, 255, 2, 200, 1]`` のように差分を計算しても同じ値が連続しないデータは、このフラグには不向きなデータです。"
818
819 msgid "There would be a case to be able to increase the compression rate by combining ``COMPRESS_FILTER_SHUFFLE`` even though calculating increments would not have same value in continuance, or increments are too large."
820 msgstr "ただ、差分を計算しても同じ値が連続しなかったり、差分自体が大きい値になる場合でも、 ``COMPRESS_FILTER_SHUFFLE`` を合わせて使うことで圧縮率を向上させられるケースもあります。"
821
822 msgid "For example, ``[4526677, 4592401, 4658217, 4723879]`` in ``UInt32`` would be ``[4526677, 65724, 65816, 65662]`` after only being applied ``COMPRESS_FILTER_BYTE_DELTA``. This data would not have values in continuance, and increments are large."
823 msgstr "例えば、 ``UInt32`` の ``[4526677, 4592401, 4658217, 4723879]`` では、単に ``COMPRESS_FILTER_BYTE_DELTA`` を適用しただけでは、 ``[4526677, 65724, 65816, 65662]`` になります。このデータでは同じ値は連続しませんし、差分自体も大きい値です。"
824
825 msgid "But applying ``COMPRESS_FILTER_SHUFFLE`` to this data would be different. And it will be explained in following. First for the explanation, ``[4526677, 4592401, 4658217, 4723879]`` in ``UInt32`` would be represent the byte column in the little endien as below."
826 msgstr "しかし、このデータに ``COMPRESS_FILTER_SHUFFLE`` を適用すると以下のようになります。説明のため、まず以下のように ``UInt32`` の ``[4526677, 4592401, 4658217, 4723879]`` をリトルエンディアンのバイト列で表現します。"
827
828 msgid "Applying ``COMPRESS_FILTER_SHUFFLE`` to this data would be following byte columns."
829 msgstr "このデータに対して、 ``COMPRESS_FILTER_SHUFFLE`` を適用すると以下のようなバイト列になります。"
830
831 msgid "Pay attention to the data of ``Byte 1``, ``Byte 2``, and ``Byte 3`` after the shuffling. The data increments of ``Byte 1`` are ``[0x12, 0x01, 0x01, 0x00]``. The data increments of ``Byte 2`` are ``[0x45, 0x01, 0x01, 0x01]``. The data increments of ``Byte 3`` are ``[0x00, 0x00, 0x00, 0x00]``. From those numbers, you can see the data increments have small values and have same values in continuance."
832 msgstr "シャッフル後の ``Byte1`` のデータと ``Byte2`` 、 ``Byte 3`` のデータに注目してください。 ``Byte 1`` のデータの差分は ``[0x12, 0x01, 0x01, 0x00]`` , ``Byte 2`` のデータの差分は ``[0x45, 0x01, 0x01, 0x01]`` , ``Byte 3`` のデータの差分は ``[0x00, 0x00, 0x00, 0x00]`` となり、差分の値が小さく、また同じ値が連続するようになります。"
833
834 msgid "As you see these, the compression rate could be increase by combining ``COMPRESS_FILTER_SHUFFLE`` even if applying ``COMPRESS_FILTER_BYTE_DELTA`` did not change the rate."
835 msgstr "このように、 ``COMPRESS_FILTER_BYTE_DELTA`` を適用しただけでは圧縮率の向上が見込めないデータでも、 ``COMPRESS_FILTER_SHUFFLE`` と合わせて使うことで圧縮率の向上を見込めるケースがあります。"
836
837 msgid "Please note that ``COMPRESS_FILTER_SHUFFLE`` would not be effective for the 1 byte data because it is to gather the same byte from the data. (The 1 byte data would have same data column whether being shuffled or not.) Thus, in case of combining ``COMPRESS_FILTER_BYTE_DELTA`` and ``COMPRESS_FILTER_SHUFFLE``, please do not use data in ``Int8`` / ``UInt8``. Only use for other type."
838 msgstr "ただし、 ``COMPRESS_FILTER_SHUFFLE`` は同じバイトのデータを集めるフィルターなので、1バイトのデータに対して適用しても意味がありません。(1バイトのデータの場合は、シャッフルしてもしなくても同じデータ列になるためです。)したがって、 ``COMPRESS_FILTER_BYTE_DELTA`` と ``COMPRESS_FILTER_SHUFFLE`` を合わせて使う場合は、 ``Int8`` / ``UInt8`` 以外のデータに対して使用してください。"
839
840 msgid "``COMPRESS_FILTER_TRUNCATE_PRECISION_1BYTE``"
841 msgstr ""
842
843 msgid "This flag can be used only for ``Float`` / ``Float32``. And it is expected to be combined with ``COMPRESS_FILTER_SHUFFLE`` ."
844 msgstr "このフラグは、 ``Float`` / ``Float32`` でのみ使用できます。また、 ``COMPRESS_FILTER_SHUFFLE`` と組み合わせて使うことを想定しています。"
845
846 msgid "This flag would drop the 1 byte of fraction from each vector column elements of ``Float`` / ``Float32`` type. Dropping the fraction means making all of the lower 1 byte of the floating-point number ``0``."
847 msgstr "このフラグは、 ``Float`` / ``Float32`` 型のベクターカラムの各要素の精度を1バイト落とします。精度を落とすとは、浮動小数点数の最下位バイトをすべて0にすることです。"
848
849 msgid "For example, ``[1.25, 3.67, 4.55]`` in ``Float32`` would be presented as following in the IEEE 754 format single-precision floating-point."
850 msgstr "例えば、 ``Float32`` の ``[1.25, 3.67, 4.55]`` というデータは、IEEE 754 形式の単精度浮動小数点数で表現すると以下のように表現できます。"
851
852 msgid "Applying this flag make all lower 1 byte ``0``. And the data would be as below. Pay attention to all ``0`` for lower 1byte of fixed-point part."
853 msgstr "このフラグを適用すると、最下位バイトをすべて0にするので以下のようなデータになります。仮数部の最下位バイトが0になっていることに注目してください。"
854
855 msgid "These actions are what would be done for single flag usage. As noted, this flag is expected to be combined with ``COLUMN_FILTER_SHUFFLE`` . Thus, by shuffling the data it is to expected increasing the compression rate after using the flag."
856 msgstr "ここまでが、このフラグ単独で使用した時に実行される操作です。前述の通り、このフラグは ``COLUMN_FILTER_SHUFFLE`` と組み合わせて使うことを想定しています。そのため、ここから更にデータをシャッフルすることで、圧縮率の向上を期待しています。"
857
858 msgid "Applying ``COMPRESS_FILTER_TRUNCATE_PRECISION_1BYTE`` then shuffling would produce data as below."
859 msgstr "``COMPRESS_FILTER_TRUNCATE_PRECISION_1BYTE`` を適用したデータをシャッフルすると以下のようなデータになります。"
860
861 msgid "Pay attention to the ``Byte 0``. You can find the value ``0`` in continuance for ``Byte 0``. If ``COMPRESS_FILTER_TRUNCATE_PRECISION_1BYTE`` was not applied and shuffled, the data would be as following table, there would be no same value in continuance for any bytes."
862 msgstr "``Byte 0`` に注目してください。 ``Byte 0`` は ``0`` が連続するデータになります。``COMPRESS_FILTER_TRUNCATE_PRECISION_1BYTE`` を適用せずにシャッフルすると以下のようなデータになり、どのバイトも同じ値は連続していません。"
863
864 msgid "Applying ``COMPRESS_FILTER_TRUNCATE_PRECISION_1BYTE`` to those data can be expected to increase the compression rate even if those data cannot increase the compression rate only with shuffling. However, note the data may be inaccurate since the fraction of the floating-point number is dropped for 1 byte."
865 msgstr "このように単純にシャッフルしただけでは、圧縮率の向上が見込めないデータでも ``COMPRESS_FILTER_TRUNCATE_PRECISION_1BYTE`` を適用することで、圧縮率の向上が見込める場合があります。ただし、圧縮対象の浮動小数点数の精度が1バイト分落ちるので、その分不正確なデータになることに注意してください。"
866
867 msgid "``COMPRESS_FILTER_TRUNCATE_PRECISION_2BYTES``"
868 msgstr ""
869
870 msgid "This flag can be used only for ``Float`` / ``Float32``. And it is expected to be combined with ``COMPRESS_FILTER_SHUFFLE``."
871 msgstr "このフラグは、 ``Float`` / ``Float32`` でのみ使用できます。また、 ``COMPRESS_FILTER_SHUFFLE`` と組み合わせて使うことを想定しています。"
872
873 msgid "This flag would drop the 2 bytes of fraction from each vector column elements of ``Float`` / ``Float32`` type. Dropping the fraction means making all of the lower 2 bytes of the floating-point number ``0``."
874 msgstr "このフラグは、 ``Float`` / ``Float32`` 型のベクターカラムの各要素の精度を2バイト落とします。精度を落とすとは、浮動小数点数の下位2バイトをすべて ``0`` にすることです。"
875
876 msgid "Applying this flag make all lower 2 bytes ``0``. And the data would be as below. Pay attention to all ``0`` for lower 2 bytes of fixed-point part."
877 msgstr "このフラグを適用すると、下位2バイトをすべて ``0`` にするので以下のようなデータになります。仮数部の下位2バイトがすべて ``0`` になっていることに注目してください。"
878
879 msgid "Applying ``COMPRESS_FILTER_TRUNCATE_PRECISION_2BYTE`` then shuffling would produce data as below."
880 msgstr "``COMPRESS_FILTER_TRUNCATE_PRECISION_2BYTE`` を適用したデータをシャッフルすると以下のようなデータになります。"
881
882 msgid "Pay attention to the ``Byte 0`` and ``Byte 1``. You can find the value ``0`` in continuance for ``Byte 0`` and ``Byte1``."
883 msgstr "``Byte 0`` と ``Byte 1`` に注目してください。 ``Byte 0`` と ``Byte 1`` は ``0`` が連続するデータになります。"
884
885 msgid "If ``COMPRESS_FILTER_TRUNCATE_PRECISION_2BYTE`` was not applied and shuffled, the data would be as following table, there would be no same value in continuance for any bytes."
886 msgstr "``COMPRESS_FILTER_TRUNCATE_PRECISION_2BYTE`` を適用せずにシャッフルすると以下のようなデータになり、どのバイトも同じ値は連続していません。"
887
888 msgid "Applying ``COMPRESS_FILTER_TRUNCATE_PRECISION_2BYTE`` to those data can be expected to increase the compression rate even if those data cannot increase the compression rate only with shuffling."
889 msgstr "このように単純にシャッフルしただけでは、圧縮率の向上が見込めないデータでも ``COMPRESS_FILTER_TRUNCATE_PRECISION_2BYTE`` を適用することで、圧縮率の向上が見込める場合があります。"
890
891 msgid "However, note the data may be inaccurate since the fraction of the floating-point number is dropped for 2 bytes."
892 msgstr "ただし、圧縮対象の浮動小数点数の精度が2バイト分落ちるので、その分不正確なデータになることに注意してください。"
893
894 msgid "``WITH_SECTION``"
895 msgstr ""
896
897 msgid "It enables section support to index column."
898 msgstr "インデックスカラムのセクションサポートを有効にします。"
899
900 msgid "If section support is enabled, you can support multiple documents in the same index column."
901 msgstr "セクションサポートが有効になると、同じインデックスカラムで複数の文書をサポートできます。"
902
903 msgid "You must specify this flag to create a multiple columns index column. See also :ref:`column-create-index-multiple-columns` for details."
904 msgstr "マルチカラムインデックスカラムを作成するときはこのフラグを指定しなければいけません。詳細は :ref:`column-create-index-multiple-columns` を見てください。"
905
906 msgid "Section support requires additional spaces. If you don't need section support, you should not enable section support."
907 msgstr "セクションサポートを有効にするとインデックスカラムが使う領域が増えます。セクションサポートが必要ない場合は有効にしないでください。"
908
909 msgid "This flag is available only for ``COLUMN_INDEX``."
910 msgstr "このフラグは ``COLUMN_INDEX`` でだけ有効です。"
911
912 msgid "``WITH_WEIGHT``"
913 msgstr ""
914
915 msgid "It enables weight support to vector column or index column."
916 msgstr "ベクターカラム・インデックスカラムの重みサポートを有効にします。"
917
918 msgid "If weight support is enabled for vector column, you can add weight for each element. If weight support is enabled for index column, you can add weight for each posting. They are useful to compute suitable search score."
919 msgstr "ベクターカラムの重みサポートを有効にすると各要素に重みを追加できます。インデックスカラムの重みサポートを有効にすると各ポスティングに重みを追加できます。これらは検索スコアの調整に役立ちます。"
920
921 msgid "You must specify this flag to use :ref:`select-adjuster`. See also :ref:`column-create-vector-weight` for details."
922 msgstr ":ref:`select-adjuster` を使う場合はこのフラグを指定します。詳細は :ref:`column-create-vector-weight` を見てください。"
923
924 msgid "Weight support requires additional spaces. If you don't need weight support, you should not enable weight support."
925 msgstr "重みをサポートすると使用する領域が増えます。重みが必要ない場合は有効にしないでください。"
926
927 msgid "This flag is available only for ``COLUMN_VECTOR`` or ``COLUMN_INDEX``."
928 msgstr "``COLUMN_VECTOR`` と ``COLUMN_INDEX`` でだけこのフラグは有効です。"
929
930 msgid "``WEIGHT_FLOAT32``"
931 msgstr ""
932
933 msgid "You can use 32bit floating point instead of 32bit unsigned integer for weight value."
934 msgstr "重みの値に32bit非負整数ではなく32bit浮動小数点を使います。"
935
936 msgid "You also need to specify ``WITH_WEIGHT``."
937 msgstr "``WITH_WEIGHT`` も指定する必要があります。"
938
939 msgid "``WITH_POSITION``"
940 msgstr ""
941
942 msgid "It enables position support to index column. It means that the index column is full inverted index. (Index column is implemented as inverted index.)"
943 msgstr "インデックスカラムの位置情報サポートを有効にします。これはインデックスカラムを完全転置インデックスにするということです。(インデックスカラムは転置インデックスとして実装されています。)"
944
945 msgid "If position support is enabled, you can add position in the document for each posting. It's required for phrase search. It means that index column for full text search must enable position support because most full text search uses phrase search."
946 msgstr "位置情報サポートが有効だと各ポスティングにドキュメントでの出現位置を追加できます。この情報はフレーズ検索をするときに必要になります。全文検索用のインデックスは位置情報サポートを有効にしなければいけません。なぜなら、全文検索はフレーズ検索を使うからです。"
947
948 msgid "You must specify this flag to create a full text search index column. See also :ref:`column-create-index-full-text-search` for details."
949 msgstr "全文検索インデックスカラムを作成するときはこのフラグを指定してください。詳細は :ref:`column-create-index-full-text-search` を見てください。"
950
951 msgid "Position support requires additional spaces. If you don't need position support, you should not enable position support."
952 msgstr "位置情報をサポートすると使用する領域が増えます。位置情報サポートが必要ない場合は有効にしないでください。"
953
954 msgid "``INDEX_SMALL``"
955 msgstr ""
956
957 msgid "It requires to create a small index column."
958 msgstr "小さなインデックスを作成するときに指定します。"
959
960 msgid "If index target data are small, small index column is enough. Small index column uses fewer memory than a normal index column or a medium index column. See also :ref:`column-create-index-small` for knowing what are \"small data\" and how to use this flag."
961 msgstr "インデックス対象のデータが小さいときは小さなインデックスカラムで十分です。小さなインデックスカラムは通常のインデックスカラム・中サイズのインデックスカラムよりも使用メモリーが少ないです。「小さいデータ」とはなにか、このフラグをどうやって使えばよいかは :ref:`column-create-index-small` を見てください。"
962
963 msgid "``INDEX_MEDIUM``"
964 msgstr ""
965
966 msgid "It requires to create a medium index column."
967 msgstr "中サイズのインデックスカラムを作成するときに指定します。"
968
969 msgid "If index target data are medium, medium index column is enough. Medium index column uses fewer memory than a normal index column. See also :ref:`column-create-index-medium` for knowing what are \"medium data\" and how to use this flag."
970 msgstr "インデックス対象のデータが中サイズなら中サイズのインデックスカラムで十分です。中サイズのインデックスカラムは通常のインデックスカラムよりも使用メモリー量が少ないです。「中サイズのデータ」とはなにか、このフラグをどうやって使えばよいかは :ref:`column-create-index-medium` を見てください。"
971
972 msgid "``INDEX_LARGE``"
973 msgstr ""
974
975 msgid "It requires to create a large index column."
976 msgstr "大きなインデックスを作成するときに指定します。"
977
978 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."
979 msgstr "インデックス対象のデータが大きいときは大きなインデックスカラムを使う必要があります。大きなインデックスカラムは通常のインデックスカラムよりもメモリーを使いますが、通常のインデックスカラムよりも多くのデータを扱えます。「大きなデータ」とはなにか、このフラグをどうやって使えばよいかは :ref:`column-create-index-large` を見てください。"
980
981 msgid "You can't specify multiple ``MISSING_*`` flags. They are exclusive."
982 msgstr "複数の ``MISSING_*`` フラグを指定することはできません。これらは排他です。"
983
984 msgid "This is meaningful only for reference scalar and vector columns."
985 msgstr "これは参照スカラーカラムと参照ベクターカラムでのみ意味があります。"
986
987 msgid "If this flag is specified and nonexistent key in the referred table is specified to the column's value, a new record is created in the referred table automatically."
988 msgstr "このフラグが指定されたカラムに、参照されているテーブルに存在しないキーを指定したら、参照されているテーブルに新しいレコードを自動的に作ります。"
989
990 msgid "If you don't specify any ``MISSING_*`` flag, ``MISSING_ADD`` is used as the default."
991 msgstr "``MISSING_*`` フラグを指定していない場合、デフォルトで ``MISSING_ADD`` が使われます。"
992
993 msgid "See also :ref:`column-create-missing-mode`."
994 msgstr ":ref:`column-create-missing-mode` も参照してください。"
995
996 msgid "If this flag is specified and nonexistent key in the referred table is specified to the column's value, the value is just ignored. If the column is a scalar column, ``GRN_ID_NIL`` (``0``) is stored because Groonga doesn't support the NULL value. If the column is a vector column, the element is just removed from the value. For example, ``[\"existent1\", \"nonexistent\", \"existent2\"]`` is set to the vector column and ``\"nonexistent\"`` record doesn't exist in the referred table, ``[\"existent1\", \"existent2\"]`` are set to the vector column."
997 msgstr "このフラグが指定されたカラムに、参照されているテーブルに存在しないキーを指定したら、その値は無視されます。もし、そのカラムがスカラーカラムなら ``GRN_ID_NIL`` ( ``0`` )が格納されます。なぜならGroongaはNULL値をサポートしていないからです。もし、そのカラムがベクターカラムなら値からその要素は削除されます。たとえば、 ``[\"existent1\", \"nonexistent\", \"existent2\"]`` がそのベクターカラムにセットされ、 ``\"nonexistent\"`` レコードが参照されているテーブルに存在しない場合、そのベクターカラムには ``[\"existent1\", \"existent2\"]`` が設定されます。"
998
999 msgid "If this flag is specified and nonexistent key in the referred table is specified to the column's value, the value is replaced with ``GRN_ID_NIL`` (``0``)."
1000 msgstr "このフラグが指定されたカラムに、参照されているテーブルに存在しないキーを指定したら、その値は ``GRN_ID_NIL`` ( ``0`` )に置き換えられます。"
1001
1002 msgid "You can't specify multiple ``INVALID_*`` flags. They are exclusive."
1003 msgstr "複数の ``INVALID_*`` フラグを指定することはできません。これらは排他です。"
1004
1005 msgid "If this flag is specified and an invalid value is specified, an error is reported to :ref:`process-log`."
1006 msgstr "このフラグを指定しているときに不正な値が指定されたら、 :ref:`process-log` にエラーログが記録されます。"
1007
1008 msgid "For example, ``\"STRING\"`` for ``Int32`` column is an invalid value."
1009 msgstr "たとえば、 ``Int32`` カラムの場合は ``\"STRING\"`` は不正な値です。"
1010
1011 msgid "If the column is a scalar column, :doc:`load` also reports an error."
1012 msgstr "カラムがスカラーカラムの場合は、 :doc:`load` もエラーを返します。"
1013
1014 msgid "If the column is a vector column, :doc:`load` doesn't reports an error but invalid values in a vector value are removed or replaced with ``GRN_ID_NIL`` (``0``) depending on ``MISSING_*`` flag of the column."
1015 msgstr "カラムがベクターカラムの場合、 :doc:`load` はエラーを返しませんが、ベクター内の不正な値は削除されるか ``GRN_ID_NIL`` ( ``0`` )に置き換えられます。どっちになるかはこのカラムに指定された ``MISSING_*`` フラグに依ります。"
1016
1017 msgid "This is an incompatible change at 12.0.2. :doc:`load` also reports an error for a vector column before 12.0.2."
1018 msgstr "12.0.2での非互換の変更です。12.0.2より前は :doc:`load` もエラーを返していました。"
1019
1020 msgid "If you don't specify any ``INVALID_*`` flag, ``INVALID_ERROR`` is used as the default."
1021 msgstr "``INVALID_*`` フラグを指定しない場合はデフォルト値として ``INVALID_ERROR`` が使われます。"
1022
1023 msgid "If this flag is specified and an invalid value is specified, a warning is reported to :ref:`process-log` but no error is reported."
1024 msgstr "このフラグが指定されたカラムに不正な値が指定された場合は :ref:`process-log` に警告が記録されますがエラーは返りません。"
1025
1026 msgid "If the column is a vector column, invalid values in a vector value are removed or replaced with ``GRN_ID_NIL`` (``0``) depending on ``MISSING_*`` flag of the column."
1027 msgstr "このカラムがベクターカラムの場合は、不正な値が削除されるか ``GRN_ID_NIL`` ( ``0`` )に置換されるかはこのカラムの ``MISSING_*`` フラグに依ります。"
1028
1029 msgid "If this flag is specified and an invalid value is specified, it's just ignored."
1030 msgstr "このフラグが指定されたカラムに不正な値が指定された場合、単に無視されます。"
1031
1032 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`` is invalid."
1033 msgstr "``COLUMN_${TYPE}`` フラグのどれかを必ず指定します。2つ以上の ``COLUMN_${TYPE}`` フラグを指定してはいけません。たとえば、 ``COLUMN_SCALAR|COLUMN_VECTOR`` は不正な指定です。"
1034
1035 msgid "You can combine flags with ``|`` (vertical bar) such as ``COLUMN_INDEX|WITH_SECTION|WITH_POSITION``."
1036 msgstr "``WITH_SECTION|WITH_POSITION`` というように、 ``|`` (縦棒)で複数のフラグを組み合わせることができます。"
1037
1038 msgid "``type``"
1039 msgstr ""
1040
1041 msgid "Specifies type of the column value."
1042 msgstr "カラムの値の型を指定します。"
1043
1044 msgid "If the column is scalar column or vector column, here are available types:"
1045 msgstr "カラムがスカラーカラムかベクターカラムなら利用可能な型は次の通りです。"
1046
1047 msgid "Builtin types described in :doc:`/reference/types`"
1048 msgstr ":doc:`/reference/types` で説明している組み込みの型"
1049
1050 msgid "Tables defined by users"
1051 msgstr "ユーザーが定義したテーブル"
1052
1053 msgid "If the column is index column, here are available types:"
1054 msgstr "カラムがインデックスカラムのときの利用可能な型は次の通りです。"
1055
1056 msgid "See also the followings:"
1057 msgstr "以下も見てください。"
1058
1059 msgid "Optional parameters"
1060 msgstr "省略可能引数"
1061
1062 msgid "There is an optional parameter."
1063 msgstr "省略可能な引数があります。"
1064
1065 msgid "``source``"
1066 msgstr ""
1067
1068 msgid "Specifies index target columns. You can specify one or more columns to the ``source`` parameter."
1069 msgstr "インデックス対象のカラムを指定します。 ``source`` パラメーターには1つ以上のカラムを指定できます。"
1070
1071 msgid "This parameter is only available for index column."
1072 msgstr "このパラメーターはインデックスカラムでだけ利用可能です。"
1073
1074 msgid "You can only specify columns of the table specified as :ref:`column-create-type`. You can also use the ``_key`` pseudo column for specifying the table key as index target."
1075 msgstr ":ref:`column-create-type` で指定したテーブルのカラムだけ指定できます。テーブルのキーをインデックス対象にしたい場合は ``_key`` 疑似カラムを指定します。"
1076
1077 msgid "If you specify multiple columns to the ``source`` parameter, separate columns with ``,`` (comma) such as ``_key,roles``."
1078 msgstr "``source`` パラメーターに複数のカラムを指定するときは ``_key,roles`` というように ``,`` (コンマ)で区切ります。"
1079
1080 msgid "``path``"
1081 msgstr ""
1082
1083 msgid "Specifies a path for storing a column."
1084 msgstr "カラムを格納するパスを指定します。"
1085
1086 msgid "This option is useful if you want to store a column that you often use to fast storage (e.g. SSD) and store it that you don't often use to slow storage (e.g. HDD)."
1087 msgstr "このオプションは、高速なストレージ(SSDなど)によく使うカラムを格納し、低速なストレージ(HDDなど)にあまり使わないカラムを格納したいときに有用です。"
1088
1089 msgid "You can use a relative path or an absolute path in this option. If you specify a relative path, it is resolved from the current directory for the ``groonga`` process."
1090 msgstr "このオプションでは、絶対パスまたは相対パスを使えます。相対パスを指定した場合は、 ``groonga`` プロセスのカレントディレクトリーからパスを解決します。"
1091
1092 msgid "The default value is none."
1093 msgstr "デフォルト値はありません。"
1094
1095 msgid "``generator``"
1096 msgstr ""
1097
1098 msgid "Specifies a generator expression in :doc:`../grn_expr/script_syntax` that is used to generate column value automatically."
1099 msgstr ":doc:`../grn_expr/script_syntax` の生成式を指定します。この式はカラムの値を自動で生成するために使われます。"
1100
1101 msgid "This option is useful if you want to generate a column value from other column value automatically."
1102 msgstr "他のカラムの値からカラムの値を自動で生成したい場合にこのオプションは有用です。"
1103
1104 msgid "``progress_log_level``"
1105 msgstr ""
1106
1107 msgid "Specifies the log level of progress logs."
1108 msgstr "プログレスログのログレベルを指定します。"
1109
1110 msgid "You can view the progress log during :ref:`offline-index-construction` ."
1111 msgstr "プログレスログは :ref:`静的インデックス構築 <offline-index-construction>` のときに出力されます。"
1112
1113 msgid "The default log level is ``debug``. This means you must enable debug level logging to view progress logs."
1114 msgstr "デフォルトのログレベルは ``debug`` です。そのため、プログレスログを見るためにはすべてのデバッグログも出力する必要があります。"
1115
1116 msgid "If you set the log level to ``notice``, you can view progress logs without other debug logs. See :ref:`log-level-level` for available log levels."
1117 msgstr "ログレベルに ``notice`` を使うと、他のデバッグログなしでプログレスログを確認できます。指定可能なログレベルは :ref:`log-level-level` を参照してください。"
1118
1119 msgid "The default is ``debug``."
1120 msgstr "デフォルトは ``debug`` です。"
1121
1122 msgid "Example::"
1123 msgstr "例::"
1124
1125 msgid "Return value"
1126 msgstr "戻り値"
1127
1128 msgid "``column_create`` returns ``true`` as body on success such as::"
1129 msgstr "``column_create`` が成功したときは以下のようにボディは ``true`` になります::"
1130
1131 msgid "If ``column_create`` fails, ``column_create`` returns ``false`` as body::"
1132 msgstr "``column_create`` が失敗したときはボディは ``false`` になります::"
1133
1134 msgid "Error details are in ``HEADER``."
1135 msgstr "``HEADER`` にエラーの詳細が含まれます。"
1136
1137 msgid "See :doc:`/reference/command/output_format` for ``HEADER``."
1138 msgstr "``HEADER`` については :doc:`/reference/command/output_format` を参照してください。"
1139
1140 msgid "See also"
1141 msgstr "参考"
1142
1143 msgid ":doc:`/reference/column`"
1144 msgstr ""
1145
1146 msgid ":doc:`/reference/commands/table_create`"
1147 msgstr ""
1148
1149 msgid ":doc:`/reference/command/output_format`"
1150 msgstr ""
1151
1152 msgid "These flags are to increase compression rate of ``COMPRESS_ZLIB`` / ``COMPRESS_LZ4`` / ``COMPRESS_ZSTD`` to increase by filtering the data before the compression."
1153 msgstr "このフラグは圧縮前にデータをフィルタリングすることで ``COMPRESS_ZLIB`` / ``COMPRESS_LZ4`` / ``COMPRESS_ZSTD`` の圧縮率を高めるためのフラグです。"
1154
1155 msgid "However it could be effective or not depending on the data. It might decrease the compression rate."
1156 msgstr "ただし、データによって効果があることもあれば効果がないこともあります。圧縮率が下がることもありえます。"
1157
1158 msgid "Also, saving column and reference process are going to be slower because enabling these flags would require additional processing."
1159 msgstr "また、このフラグを有効にすることで追加の処理が入るのでカラムの保存・参照処理は確実に遅くなります。"
1160
1161 msgid "Regardless of setting ``COMPRESS_ZLIB`` , ``COMPRESS_LZ4`` , ``COMPRESS_ZSTD`` , these filters use `BloscLZ <https://www.blosc.org/pages/blosc-in-depth/#blosc-as-a-meta-compressor>`_ as the compression alogolizm, thus make the column size smaller than the noncompressed column in most cases."
1162 msgstr "なお、 ``COMPRESS_ZLIB`` / ``COMPRESS_LZ4`` / ``COMPRESS_ZSTD`` を指定しない場合は `BloscLZ <https://www.blosc.org/pages/blosc-in-depth/#blosc-as-a-meta-compressor>`_ という圧縮アルゴリズムが使われるので、このフラグを有効にすることでほとんどの場合は未圧縮の場合よりもサイズが小さくなります。"
1163
1164 msgid "Yet, there would be a case that some data would show sufficient work by only suetting ``COMPRESS_ZLIB`` , ``COMPRESS_LZ4`` , ``COMPRESS_ZSTD`` . So it is advised to set suitable flags depending on the data."
1165 msgstr "しかし、データによってはこのフラグを有効にせずに単に ``COMPRESS_ZLIB`` / ``COMPRESS_LZ4`` / ``COMPRESS_ZSTD`` を指定するだけで十分であることもあるため、実際のデータにあわせて適切にフラグを設定するようにしてください。"
1166
1167 msgid "Note that ``COMPRESS_FILTER_SHUFFLE`` flag is ignored if Blosc support is invalid. Blosc support is valid in default in each packages. However, We need to valid Blosc support explicitly when we build Groonga from source. Please refer :doc:`/install/others` when we build Groonga from source."
1168 msgstr "`COMPRESS_FILTER_SHUFFLE`` フラグはBloscサポートが有効になっていないと無視されることに注意してください。各種パッケージでは有効になっていますが、自分でビルドするときは明示的に有効にする必要があります。自分でビルドする場合は :doc:`/install/others` を参照してください。"
1169
1170 msgid "These flags are only available with ``COLUMN_VECTOR`` and are ignored with ``COLUMN_SCALAR`` ."
1171 msgstr "このフラグは ``COLUMN_VECTOR`` でのみ使用できます。 ``COLUMN_SCALAR`` のときはこのフラグは無視されます。"