Debian Codegraph @

doc/locale/ja/LC_MESSAGES/reference/grn_expr/script_syntax.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: 2023-07-12 09:26+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 "Script syntax"
22 msgstr "スクリプト構文"
23
24 msgid "Script syntax is a syntax to specify complex search condition. It is similar to ECMAScript. For example, ``_key == \"book\"`` means that groonga searches records that ``_key`` value is ``\"book\"``. All values are string in :doc:`query_syntax` but its own type in script syntax. For example, ``\"book\"`` is string, ``1`` is integer, ``TokenBigram`` is the object whose name is ``TokenBigram`` and so on."
25 msgstr "スクリプト構文は複雑な検索条件を指定するための構文です。この構文はECMAScriptに似ています。例えば、 ``_key == \"book\"`` は ``_key`` の値が ``\"book\"`` のレコードを検索するという意味です。 :doc:`query_syntax` ではすべての値は文字列でしたが、スクリプト構文では値に型があります。例えば、 ``\"book\"`` は文字列で ``1`` は整数で、 ``TokenBigram`` は ``TokenBigram`` という名前のオブジェクトです。"
26
27 msgid "Script syntax doesn't support full ECMAScript syntax. For example, script syntax doesn't support statement such as ``if`` control statement, ``for`` iteration statement and variable definition statement. Function definion is not supported too. But script syntax adds the original additional operators. They are described after ECMAScript syntax is described."
28 msgstr "スクリプト構文はECMAScriptの構文と完全に互換性があるわけではありません。例えば、 ``if`` 制御文や ``for`` 繰り返し文や変数定義文といった文をサポートしていません。関数定義もサポートしていません。しかし、独自の演算子を追加しています。独自の演算子はECMAScriptの構文を説明した後に説明します。"
29
30 msgid "Security"
31 msgstr "セキュリティー"
32
33 msgid "For security reason, you should not pass an input from users to Groonga directly. If there is an evil user, the user may input a query that retrieves records that should not be shown to the user."
34 msgstr "セキュリティーの観点からユーザーからの入力をそのままGroongaに渡すべきではありません。悪意のあるユーザーがそのユーザーには参照できてはいけないレコードを取得するクエリーを入力するかもしれないからです。"
35
36 msgid "Think about the following case."
37 msgstr "例えば、以下の状況を考えてみましょう。"
38
39 msgid "A Groonga application constructs a Groonga request by the following program::"
40 msgstr "あるGroongaアプリケーションがGroongaへのリクエストを次のようなプログラムで構築していたとします。::"
41
42 msgid "``user_input`` is an input from user. If the input is ``query``, here is the constructed :ref:`select-filter` parameter::"
43 msgstr "``user_input`` はユーザーからの入力です。入力が ``query`` だった場合は構築された :ref:`select-filter` 引数は次のようになります。::"
44
45 msgid "If the input is ``x\" || true || \"``, here is the constructed :ref:`select-filter` parameter::"
46 msgstr "もし、入力が ``x\" || true || \"`` だった場合は構築された :ref:`select-filter` 引数は次のようになります。::"
47
48 msgid "This query matches to all records. The user will get all records from your database. The user may be evil."
49 msgstr "このクエリーはすべてのレコードにマッチします。このユーザーはデータベース中のすべてのレコードを取得するでしょう。このユーザーには悪意があったのかもしれません。"
50
51 msgid "It's better that you just receive an user input as a value. It means that you don't accept that user input can contain operator such as ``@`` and ``&&``. If you accept operator, user can create evil query."
52 msgstr "ユーザーからの入力では値だけを受け取るようにする方がよいです。これは、ユーザーからの入力には ``@`` や ``&&`` のような演算子を受け付けないようにするということです。もし、演算子も受け付けるようにするなら、ユーザーは悪意のあるクエリーを作ることができます。"
53
54 msgid "If user input has only value, you blocks evil query by escaping user input value. Here is a list how to escape user input value:"
55 msgstr "ユーザーの入力が値だけなら、入力された値をエスケープすることで悪意のあるクエリーを防ぐことができます。以下はユーザーの入力をどのようにエスケープすればよいかのリストです。"
56
57 msgid "True value: Convert it to ``true``."
58 msgstr "真の値: ``true`` に変換してください。"
59
60 msgid "False value: Convert it to ``false``."
61 msgstr "負の値: ``false`` に変換してください。"
62
63 msgid "Numerical value: Convert it to :ref:`script-syntax-literal-integer` or :ref:`script-syntax-literal-float`. For example, ``1.2``, ``-10``, ``314e-2`` and so on."
64 msgstr "数値: :ref:`script-syntax-literal-integer` または :ref:`script-syntax-literal-float` に変換してください。例えば、 ``1.2`` 、 ``-10`` 、 ``314e-2`` といった具合です。"
65
66 msgid "String value: Replace ``\"`` with ``\\\"`` and ``\\`` with ``\\\\`` in the string value and surround substituted string value by ``\"``. For example, ``double \" quote and back \\ slash`` should be converted to ``\"double \\\" quote and back \\\\ slash\"``."
67 msgstr "文字列:文字列中の ``\"`` を ``\\\"`` で、 ``\\`` を ``\\\\`` で置換してください。その後、置換した文字列を ``\"`` で囲んでください。例えば、 ``double \" quote and back \\ slash`` は ``\"double \\\" quote and back \\\\ slash\"`` に変換します。"
68
69 msgid "Sample data"
70 msgstr "サンプルデータ"
71
72 msgid "Here are a schema definition and sample data to show usage."
73 msgstr "使い方を示すために使うスキーマ定義とサンプルデータは以下の通りです。"
74
75 msgid "There is a table, ``Entries``, for blog entries. An entry has title, content and the number of likes for the entry. Title is key of ``Entries``. Content is value of ``Entries.content`` column. The number of likes is value of ``Entries.n_likes`` column."
76 msgstr "ブログエントリ用の ``Entries`` テーブルがあります。各エントリはタイトルと内容と「いいね!」数を持っています。タイトルは ``Entries`` のキーとします。内容は ``Entries.content`` カラムの値とします。「いいね!」数は ``Entries.n_likes`` カラムの値とします。"
77
78 msgid "``Entries._key`` column and ``Entries.content`` column are indexed using ``TokenBigram`` tokenizer. So both ``Entries._key`` and ``Entries.content`` are fulltext search ready."
79 msgstr "``Entries._key`` カラムと ``Entries.content`` カラムには ``TokenBigram`` トークナイザーを使ったインデックスを作成します。そのため、 ``Entries._key`` と ``Entries.content`` は両方とも全文検索できます。"
80
81 msgid "OK. The schema and data for examples are ready."
82 msgstr "これで例を示すためのスキーマとデータの準備ができました。"
83
84 msgid "Literals"
85 msgstr "リテラル"
86
87 msgid "Integer"
88 msgstr "整数"
89
90 msgid "Integer literal is sequence of ``0`` to ``9`` such as ``1234567890``. ``+`` or ``-`` can be prepended as sign such as ``+29`` and ``-29``. Integer literal must be decimal. Octal notation, hex and so on can't be used."
91 msgstr "整数リテラルは ``1234567890`` のような ``0`` から ``9`` の並びです。 ``+29`` や ``-29`` のように符号として最初に ``+`` または ``-`` をつけることができます。整数リテラルは10進数です。8進数や16進数などは使えません。"
92
93 msgid "The maximum value of integer literal is ``9223372036854775807`` (``= 2 ** 63 - 1``). The minimum value of integer literal is ``-9223372036854775808`` (``= -(2 ** 63)``)."
94 msgstr "整数リテラルの最大値は ``9223372036854775807`` ( ``= 2 ** 63 - 1`` )です。最小値は ``-9223372036854775808`` ( ``= -(2 ** 63)`` )です。"
95
96 msgid "Float"
97 msgstr "浮動小数点数"
98
99 msgid "Float literal is sequence of ``0`` to ``9``, ``.`` and ``0`` to ``9`` such as ``3.14``. ``+`` or ``-`` can be prepended as sign such as ``+3.14`` and ``-3.14``. ``${RADIX}e${EXPORNENTIAL}`` and ``${RADIX}E${EXPORNENTIAL}`` formats are also supported. For example, ``314e-2`` is the same as ``3.14``."
100 msgstr "浮動小数点数リテラルは ``3.14`` のように、まず ``0`` から ``9`` 、次に ``.`` 、最後に ``0`` から ``9`` という並びです。 ``+3.14`` や ``-3.14`` のように符号として最初に ``+`` または ``-`` をつけることができます。 ``${基数}e${指数}`` や ``${基数}E${指数}`` というフォーマットもサポートしています。例えば、 ``314e-2`` は ``3.14`` と同じです。"
101
102 msgid "String"
103 msgstr "文字列"
104
105 msgid "String literal is ``\"...\"``. You need to escape ``\"`` in literal by prepending ``\\`` such as ``\\\"``. For example, ``\"Say \\\"Hello!\\\".\"`` is a literal for ``Say \"Hello!\".`` string."
106 msgstr "文字列リテラルは ``\"...\"`` です。リテラル中の ``\"`` は ``\\\"`` というように ``\\`` を前につけてエスケープします。例えば、 ``\"Say \\\"Hello!\\\".\"`` は ``Say \"Hello!\".`` という文字列のリテラルです。"
107
108 msgid "String encoding must be the same as encoding of database. The default encoding is UTF-8. It can be changed by ``--with-default-encoding`` configure option, ``--encoding`` :doc:`/reference/executables/groonga` option and so on."
109 msgstr "文字列エンコーディングはデータベースのエンコーディングと合わせなければいけません。デフォルトのエンコーディングはUTF-8です。これは configure の ``--with-default-encoding`` オプションや :doc:`/reference/executables/groonga` の ``--encoding`` などで変更できます。"
110
111 msgid "Boolean"
112 msgstr "真偽値"
113
114 msgid "Boolean literal is ``true`` and ``false``. ``true`` means true and ``false`` means false."
115 msgstr "真偽値のリテラルは ``true`` と ``false`` です。 ``true`` は真という意味で、 ``false`` は偽という意味です。"
116
117 msgid "Null"
118 msgstr "NULL"
119
120 msgid "Null literal is ``null``. Groonga doesn't support null value but null literal is supported."
121 msgstr "NULLのリテラルは ``null`` です。GroongaはNULL値をサポートしてませんが、NULLリテラルをサポートしています。"
122
123 msgid "Time"
124 msgstr "時間"
125
126 msgid "This is the groonga original notation."
127 msgstr "これはgroonga独自の記法です。"
128
129 msgid "Time literal doesn't exit. There are string time notation, integer time notation and float time notation."
130 msgstr "時間のリテラルはありません。文字列での時間記法、整数での時間記法または浮動小数点数での時間記法を使ってください。"
131
132 msgid "String time notation is ``\"YYYY/MM/DD hh:mm:ss.uuuuuu\"`` or ``\"YYYY-MM-DD hh:mm:ss.uuuuuu\"``. ``YYYY`` is year, ``MM`` is month, ``DD`` is day, ``hh`` is hour, ``mm`` is minute, ``ss`` is second and ``uuuuuu`` is micro second. It is local time. For example, ``\"2012/07/23 02:41:10.436218\"`` is ``2012-07-23T02:41:10.436218`` in ISO 8601 format."
133 msgstr "文字列での時間記法は ``\"YYYY/MM/DD hh:mm:ss.uuuuuu\"`` または ``\"YYYY-MM-DD hh:mm:ss.uuuuuu\"`` です。 ``YYYY`` は西暦、 ``MM`` は月、 ``DD`` は日、 ``hh`` は時、 ``mm`` は分、 ``ss`` は秒、 ``uuuuuu`` はマイクロ秒です。ローカル時間です。例えば、 ``\"2012/07/23 02:41:10.436218\"`` はISO 8601形式では ``2012-07-23T02:41:10.436218`` になります。"
134
135 msgid "Integer time notation is the number of seconds that have elapsed since midnight UTC, January 1, 1970. It is also known as POSIX time. For example, ``1343011270`` is ``2012-07-23T02:41:10Z`` in ISO 8601 format."
136 msgstr "整数での時間記法はUTC時間で1970年1月1日0時0分0秒からの経過秒数を使います。この時間はPOSIX時間とも呼ばれています。例えば、 ``1343011270`` はISO 8601形式では ``2012-07-23T02:41:10Z`` になります。"
137
138 msgid "Float time notation is the number of seconds and micro seconds that have elapsed since midnight UTC, January 1, 1970. For example, ``1343011270.436218`` is ``2012-07-23T02:41:10.436218Z`` in ISO 8601 format."
139 msgstr "浮動小数点数での時間記法はUTC時間で1970年1月1日0時0分0秒からの経過秒数と経過マイクロ秒数を使います。例えば、 ``1343011270.436218`` はISO 8601形式では ``2012-07-23T02:41:10.346218Z`` になります。"
140
141 msgid "Geo point"
142 msgstr "座標値"
143
144 msgid "Geo point literal doesn't exist. There is string geo point notation."
145 msgstr "座標値のリテラルはありません。文字列での座標値記法を使ってください。"
146
147 msgid "String geo point notation has the following patterns:"
148 msgstr "文字列での座標値記法には以下のパターンがあります。"
149
150 msgid "``\"LATITUDE_IN_MSECxLONGITUDE_IN_MSEC\"``"
151 msgstr "``\"ミリ秒表記の緯度xミリ秒表記の経度\"``"
152
153 msgid "``\"LATITUDE_IN_MSEC,LONGITUDE_IN_MSEC\"``"
154 msgstr "``\"ミリ秒表記の緯度,ミリ秒表記の経度\"``"
155
156 msgid "``\"LATITUDE_IN_DEGREExLONGITUDE_IN_DEGREE\"``"
157 msgstr "``\"度数表記の緯度x度数表記の経度\"``"
158
159 msgid "``\"LATITUDE_IN_DEGREE,LONGITUDE_IN_DEGREE\"``"
160 msgstr "``\"度数表記の緯度,度数表記の経度\"``"
161
162 msgid "``x`` and ``,`` can be used for separator. Latitude and longitude can be represented in milliseconds or degree."
163 msgstr "``x`` と ``,`` のどちらも区切り文字として使えます。緯度と経度はミリ秒または度数で指定します。"
164
165 msgid "Array"
166 msgstr "配列"
167
168 msgid "Array literal is ``[element1, element2, ...]``."
169 msgstr "配列リテラルは ``[element1, element2, ...]`` です。"
170
171 msgid "Object literal"
172 msgstr "オブジェクトリテラル"
173
174 msgid "Object literal is ``{name1: value1, name2: value2, ...}``. Groonga doesn't support object literal yet."
175 msgstr "オブジェクトのリテラルは ``{name1: value1, name2: value2, ...}`` です。groongaはまだオブジェクトリテラルをサポートしていません。"
176
177 msgid "Control syntaxes"
178 msgstr "制御構文"
179
180 msgid "Script syntax doesn't support statement. So you cannot use control statement such as ``if``. You can only use ``A ? B : C`` expression as control syntax."
181 msgstr "スクリプト構文は文をサポートしていません。そのため、 ``if`` のような制御文を使うことはできません。制御用の構文は ``A ? B : C`` 式だけ使うことができます。"
182
183 msgid "``A ? B : C`` returns ``B`` if ``A`` is true, ``C`` otherwise."
184 msgstr "``A ? B : C`` は ``A`` が真なら ``B`` を返して、そうでなかったら ``C`` を返します。"
185
186 msgid "Here is a simple example:"
187 msgstr "以下は簡単な使用例です。"
188
189 msgid "The expression matches records that ``_id`` column value is equal to ``1`` and ``n_likes`` column value is equal to ``5`` or ``_id`` column value is not equal to 1 and ``n_likes`` column value is equal to ``3``."
190 msgstr "この式は ``_id`` カラムの値が ``1`` で ``n_likes`` カラムの値が ``5`` または ``_id`` カラムの値が ``1`` ではなく ``n_likes`` カラムの値が ``3`` のレコードにマッチします。"
191
192 msgid "Grouping"
193 msgstr "グループ化"
194
195 msgid "Its syntax is ``(...)``. ``...`` is comma separated expression list."
196 msgstr "構文は ``(...)`` です。 ``...`` はカンマ区切りの式のリストです。"
197
198 msgid "``(...)`` groups one ore more expressions and they can be processed as an expression. ``a && b || c`` means that ``a`` and ``b`` are matched or ``c`` is matched. ``a && (b || c)`` means that ``a`` and one of ``b`` and ``c`` are matched."
199 msgstr "``(...)`` は1つ以上の式をグループ化します。グループ化された式は1つの式として処理されます。 ``a && b || c`` は ``a`` と ``b`` の両方がマッチするか、 ``c`` がマッチすれば式全体がマッチする、という意味になります。 ``a && (b || c)`` は ``a`` がマッチして ``b`` と ``c`` はどちらか一方がマッチすれば式全体がマッチする、という意味になります。"
200
201 msgid "The first expression doesn't use grouping. It matches records that ``n_likes < 5`` and ``content @ \"senna\"`` are matched or ``content @ \"fast\"`` is matched."
202 msgstr "最初の式はグループ化していません。この式は ``n_likes < 5`` と ``content @ \"senna\"`` の両方がマッチするか ``content @ \"fast\"`` がマッチするレコードにマッチします。"
203
204 msgid "The second expression uses grouping. It matches records that ``n_likes < 5`` and one of ``content @ \"senna\"`` or ``content @ \"fast\"`` are matched."
205 msgstr "2番目の式はグループ化しています。この式は ``n_likes < 5`` にマッチして、 ``content @ \"senna\"`` と ``content @ \"fast\"`` は少なくともどちらか一方にマッチするレコードにマッチします。"
206
207 msgid "Function call"
208 msgstr "関数呼び出し"
209
210 msgid "Its syntax is ``name(argument1, argument2, ...)``."
211 msgstr "構文は ``name(argument1, argument2, ...)`` です。"
212
213 msgid "``name(argument1, argument2, ...)`` calls a function that is named ``name`` with arguments ``argument1``, ``argument2`` and ``...``."
214 msgstr "``name(argument1, argument2, ...)`` は ``name`` という関数を引数 ``argument1``, ``argument2``, ``...`` で呼び出します。"
215
216 msgid "See :doc:`/reference/function` for available function list."
217 msgstr "利用可能な関数の一覧は :doc:`/reference/function` を参照してください。"
218
219 msgid "The expression uses :doc:`/reference/functions/edit_distance`. It matches records that ``_key`` column value is similar to ``\"Groonga\"``. Similarity of ``\"Groonga\"`` is computed as edit distance. If edit distance is less than or equal to 1, the value is treated as similar. In this case, ``\"Groonga\"`` and ``\"Mroonga\"`` are treated as similar."
220 msgstr "この式は :doc:`/reference/functions/edit_distance` を使っています。この式は ``_key`` カラムの値が ``\"Groonga\"`` に似ているレコードにマッチします。 ``\"Groonga\"`` との類似度は編集距離で計算します。編集距離が1文字以下なら似ているとします。この場合は ``\"Groonga\"`` と ``\"Mroonga\"`` が似ている値です。"
221
222 msgid "Basic operators"
223 msgstr "基本的な演算子"
224
225 msgid "Groonga supports operators defined in ECMAScript."
226 msgstr "groongaはECMAScriptで定義されている演算子をサポートしています。"
227
228 msgid "Arithmetic operators"
229 msgstr "算術演算子"
230
231 msgid "Here are arithmetic operators."
232 msgstr "以下は算術演算子の説明です。"
233
234 msgid "Addition operator"
235 msgstr "加算演算子"
236
237 msgid "Its syntax is ``number1 + number2``."
238 msgstr "構文は ``number1 + number2`` です。"
239
240 msgid "The operator adds ``number1`` and ``number2`` and returns the result."
241 msgstr "この演算子は ``number1`` と ``number2`` を足した結果を返します。"
242
243 msgid "The expression matches records that ``n_likes`` column value is equal to ``15`` (= ``10 + 5``)."
244 msgstr "この式は ``n_likes`` カラムの値が ``15`` (= ``10 + 5``) のレコードにマッチします。"
245
246 msgid "Subtraction operator"
247 msgstr "減算演算子"
248
249 msgid "Its syntax is ``number1 - number2``."
250 msgstr "構文は ``number1 - number2`` です。"
251
252 msgid "The operator subtracts ``number2`` from ``number1`` and returns the result."
253 msgstr "この演算子は ``number2`` から ``number1`` を引いた結果を返します。"
254
255 msgid "The expression matches records that ``n_likes`` column value is equal to ``15`` (= ``20 - 5``)."
256 msgstr "この式は ``n_likes`` カラムの値が ``15`` (= ``20 - 5``) のレコードにマッチします。"
257
258 msgid "Multiplication operator"
259 msgstr "乗算演算子"
260
261 msgid "Its syntax is ``number1 * number2``."
262 msgstr "構文は ``number1 * number2`` です。"
263
264 msgid "The operator multiplies ``number1`` and ``number2`` and returns the result."
265 msgstr "この演算子は ``number1`` と ``number2`` を掛けた結果を返します。"
266
267 msgid "The expression matches records that ``n_likes`` column value is equal to ``15`` (= ``3 * 5``)."
268 msgstr "この式は ``n_likes`` カラムの値が ``15`` (= ``3 * 5``) のレコードにマッチします。"
269
270 msgid "Division operator"
271 msgstr "除算演算子"
272
273 msgid "Its syntax is ``number1 / number2`` and ``number1 % number2``."
274 msgstr "構文は ``number1 / number2`` と ``number1 % number2`` です。"
275
276 msgid "The operator divides ``number2`` by ``number1``. ``/`` returns the quotient of result. ``%`` returns the remainder of result."
277 msgstr "この演算子は ``number2`` を ``number1`` で割ります。 ``/`` は商を返します。 ``%`` は余りを返します。"
278
279 msgid "Here is simple examples."
280 msgstr "以下は簡単な使用例です。"
281
282 msgid "The expression matches records that ``n_likes`` column value is equal to ``3`` (= ``26 / 7``)."
283 msgstr "この式は ``n_likes`` カラムの値が ``3`` (= ``26 / 7``) のレコードにマッチします。"
284
285 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``26 % 7``)."
286 msgstr "この式は ``n_likes`` カラムの値が ``5`` (= ``26 % 7``) の値にマッチします。"
287
288 msgid "Logical operators"
289 msgstr "論理演算子"
290
291 msgid "Here are logical operators."
292 msgstr "以下は論理演算子の説明です。"
293
294 msgid "Logical NOT operator"
295 msgstr "論理否定演算子"
296
297 msgid "Its syntax is ``!condition``."
298 msgstr "構文は ``!condition`` です。"
299
300 msgid "The operator inverts boolean value of ``condition``."
301 msgstr "この演算子は ``condition`` の真偽値を反転します。"
302
303 msgid "The expression matches records that ``n_likes`` column value is not equal to ``5``."
304 msgstr "この式は ``n_likes`` カラムの値が ``5`` ではない式にマッチします。"
305
306 msgid "Logical AND operator"
307 msgstr "論理積演算子"
308
309 msgid "Its syntax is ``condition1 && condition2``."
310 msgstr "構文は ``condition1 && condition2`` です。"
311
312 msgid "The operator returns true if both of ``condition1`` and ``condition2`` are true, false otherwise."
313 msgstr "この演算子は ``condition1`` と ``condition2`` の両方が真のときに真を返し、そうでなければ偽を返します。"
314
315 msgid "The expression matches records that ``content`` column value has the word ``fast`` and ``n_likes`` column value is greater or equal to ``10``."
316 msgstr "この式は ``content`` カラムの値が ``fast`` を含んでいて、 ``n_likes`` カラムの値が ``10`` 以上のレコードにマッチします。"
317
318 msgid "Logical OR operator"
319 msgstr "論理和演算子"
320
321 msgid "Its syntax is ``condition1 || condition2``."
322 msgstr "構文は ``condition1 || condition2`` です。"
323
324 msgid "The operator returns true if either ``condition1`` or ``condition2`` is true, false otherwise."
325 msgstr "この演算子は ``condition1`` と ``condition2`` のどちらか一方が真のときに真を返し、そうでなければ偽を返します。"
326
327 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` or ``10``."
328 msgstr "この式は ``n_likes`` カラムの値が ``5`` または ``10`` のレコードにマッチします。"
329
330 msgid "Logical AND NOT operator"
331 msgstr "論理差演算子"
332
333 msgid "Its syntax is ``condition1 &! condition2``."
334 msgstr "構文は ``condition1 &! condition2`` です。"
335
336 msgid "The operator returns true if ``condition1`` is true but ``condition2`` is false, false otherwise. It returns difference set."
337 msgstr "この演算子は ``condition1`` が真で ``condition2`` が偽のときに真を返し、そうでなければ偽を返します。差集合を返すということです。"
338
339 msgid "The expression matches records that ``content`` column value has the word ``fast`` but doesn't have the word ``mroonga``."
340 msgstr "この式は ``content`` カラムの値が ``fast`` を含んでいるが ``mroonga`` を含んでいないレコードにマッチします。"
341
342 msgid "Bitwise operators"
343 msgstr "ビット演算子"
344
345 msgid "Here are bitwise operators."
346 msgstr "以下はビット演算子の説明です。"
347
348 msgid "Bitwise NOT operator"
349 msgstr "ビット否定演算子"
350
351 msgid "Its syntax is ``~number``."
352 msgstr "構文は ``~number`` です。"
353
354 msgid "The operator returns bitwise NOT of ``number``."
355 msgstr "この演算子は ``number`` の各ビットを反転した結果を返します。"
356
357 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` because bitwise NOT of ``5`` is equal to ``-6``."
358 msgstr "この式は ``n_likes`` カラムの値が ``5`` のレコードにマッチします。なぜならば、 ``5`` の各ビットを反転すると ``-6`` になるからです。"
359
360 msgid "Bitwise AND operator"
361 msgstr "ビット論理積演算子"
362
363 msgid "Its syntax is ``number1 & number2``."
364 msgstr "構文は ``number1 & number2`` です。"
365
366 msgid "The operator returns bitwise AND between ``number1`` and ``number2``."
367 msgstr "この演算子は ``number1`` と ``number2`` をビット単位で論理積をした結果を返します。"
368
369 msgid "The expression matches records that ``n_likes`` column value is even number because bitwise AND between an even number and ``1`` is equal to ``1`` and bitwise AND between an odd number and ``1`` is equal to ``0``."
370 msgstr "この式は ``n_likes`` カラムの値が偶数のレコードにマッチします。なぜならば、偶数と ``1`` のビット単位の論理積は ``1`` になり、奇数と ``1`` のビット単位の論理積は ``0`` になるからです。"
371
372 msgid "Bitwise OR operator"
373 msgstr "ビット論理和演算子"
374
375 msgid "Its syntax is ``number1 | number2``."
376 msgstr "構文は ``number1 | number2`` です。"
377
378 msgid "The operator returns bitwise OR between ``number1`` and ``number2``."
379 msgstr "この演算子は ``number1`` と ``number2`` をビット単位で論理和した結果を返します。"
380
381 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``1 | 4``)."
382 msgstr "この式は ``n_likes`` カラムの値が ``5`` (= ``1 | 4``) のレコードにマッチします。"
383
384 msgid "Bitwise XOR operator"
385 msgstr "ビット排他的論理和演算子"
386
387 msgid "Its syntax is ``number1 ^ number2``."
388 msgstr "構文は ``number1 ^ number2`` です。"
389
390 msgid "The operator returns bitwise XOR between ``number1`` and ``number2``."
391 msgstr "この演算子は ``number1`` と ``number2`` をビット単位で排他的論理和した結果を返します。"
392
393 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``10 ^ 15``)."
394 msgstr "この式は ``n_likes`` カラムの値が ``5`` (= ``10 ^ 15``) の値にマッチします。"
395
396 msgid "Shift operators"
397 msgstr "シフト演算子"
398
399 msgid "Here are shift operators."
400 msgstr "以下はシフト演算子の説明です。"
401
402 msgid "Left shift operator"
403 msgstr "左シフト演算子"
404
405 msgid "Its syntax is ``number1 << number2``."
406 msgstr "構文は ``number1 << number2`` です。"
407
408 msgid "The operator performs a bitwise left shift operation on ``number1`` by ``number2``."
409 msgstr "この演算子は ``number1`` のビットを左に ``number2`` ビットシフトする。"
410
411 msgid "The expression matches records that ``n_likes`` column value is equal to ``10`` (= ``5 << 1``)."
412 msgstr "この式は ``n_likes`` カラムの値が ``10`` (= ``5 << 1``) のレコードにマッチします。"
413
414 msgid "Signed right shift operator"
415 msgstr "符号付き右シフト演算子"
416
417 msgid "Its syntax is ``number1 >> number2``."
418 msgstr "構文は ``number1 >> number2`` です。"
419
420 msgid "The operator shifts bits of ``number1`` to right by ``number2``. The sign of the result is the same as ``number1``."
421 msgstr "この演算子は ``number1`` のビットを右に ``number2`` ビットシフトします。結果の符号は ``number1`` の符号と同じです。"
422
423 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``-(-10 >> 1)`` = ``-(-5)``)."
424 msgstr "この式は ``n_likes`` カラムの値が ``5`` (= ``-(-10 >> 1)`` = ``-(-5)``) のレコードにマッチします。"
425
426 msgid "Unsigned right shift operator"
427 msgstr "符号なし右シフト演算子"
428
429 msgid "Its syntax is ``number1 >>> number2``."
430 msgstr "構文は ``number1 >>> number2`` です。"
431
432 msgid "The operator shifts bits of ``number1`` to right by ``number2``. The leftmost ``number2`` bits are filled by ``0``."
433 msgstr "この演算子は ``number1`` のビットを右に ``number2`` ビットシフトします。一番左の ``number2`` ビットには ``0`` が入ります。"
434
435 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``2147483648 - (-10 >>> 1)`` = ``2147483648 - 2147483643``)."
436 msgstr "この式は ``n_likes`` カラムの値が ``5`` (= ``2147483648 - (-10 >>> 1)`` = ``2147483648 - 2147483643``) のレコードにマッチします。"
437
438 msgid "Comparison operators"
439 msgstr "比較演算子"
440
441 msgid "Here are comparison operators."
442 msgstr "以下は比較演算子の説明です。"
443
444 msgid "Equal operator"
445 msgstr "等価演算子"
446
447 msgid "Its syntax is ``object1 == object2``."
448 msgstr "構文は ``object1 == object2`` です。"
449
450 msgid "The operator returns true if ``object1`` equals to ``object2``, false otherwise."
451 msgstr "この演算子は ``object1`` が ``object2`` と等しいときは真を返し、そうでなければ偽を返します。"
452
453 msgid "The expression matches records that ``n_likes`` column value is equal to ``5``."
454 msgstr "この式は ``n_likes`` カラムの値が ``5`` の値にマッチします。"
455
456 msgid "Not equal operator"
457 msgstr "不等価演算子"
458
459 msgid "Its syntax is ``object1 != object2``."
460 msgstr "構文は ``object1 != object2`` です。"
461
462 msgid "The operator returns true if ``object1`` does not equal to ``object2``, false otherwise."
463 msgstr "この演算子は ``object1`` が ``object2`` と等しくないときに真を返し、そうでなければ偽を返します。"
464
465 msgid "Less than operator"
466 msgstr "小なり演算子"
467
468 msgid "TODO: ..."
469 msgstr ""
470
471 msgid "Less than or equal to operator"
472 msgstr "以下演算子"
473
474 msgid "Greater than operator"
475 msgstr "大なり演算子"
476
477 msgid "Greater than or equal to operator"
478 msgstr "以上演算子"
479
480 msgid "Assignment operators"
481 msgstr "代入演算子"
482
483 msgid "Addition assignment operator"
484 msgstr "加算代入演算子"
485
486 msgid "Its syntax is ``column1 += column2``."
487 msgstr "構文は ``column += value`` です。"
488
489 msgid "The operator performs addition assignment operation on column1 by column2."
490 msgstr "この演算子は ``column1`` に ``column2`` を加算代入します。"
491
492 msgid "The value of ``_score`` by ``--filter`` is always 1 in this case, then performs addition assignment operation such as '_score = _score + n_likes' for each records."
493 msgstr "``--filter`` による ``_score`` の値はこの場合は常に1です。その後、'_score = _score + n_likes' という加算代入演算をそれぞれのレコードへ適用します。"
494
495 msgid "For example, the value of ``_score`` about the record which stores \"Good-bye Senna\" as the ``_key`` is 3."
496 msgstr "例えば、 ``_key`` として\"Good-bye Senna\"を格納しているレコードの ``_score`` の値は3です。"
497
498 msgid "So the expression ``1 + 3`` is evaluated and stored to ``_score`` column as the execution result."
499 msgstr "そのため、 ``1 + 3`` という式が評価されてから ``_score`` カラムへと演算結果が保存されます。"
500
501 msgid "Subtraction assignment operator"
502 msgstr "減算代入演算子"
503
504 msgid "Its syntax is ``column1 -= column2``."
505 msgstr "構文は ``column1 -= column2`` です。"
506
507 msgid "The operator performs subtraction assignment operation on column1 by column2."
508 msgstr "この演算子は ``column1`` から ``column2`` を減算代入します。"
509
510 msgid "The value of ``_score`` by ``--filter`` is always 1 in this case, then performs subtraction assignment operation such as '_score = _score - n_likes' for each records."
511 msgstr "``--filter`` による ``_score`` の値はこの場合は常に1です。その後、'_score = _score - n_likes' という減算代入演算をそれぞれのレコードへ適用します。"
512
513 msgid "So the expression ``1 - 3`` is evaluated and stored to ``_score`` column as the execution result."
514 msgstr "そのため、 ``1 - 3`` という式が評価されてから ``_score`` カラムへと演算結果が保存されます。"
515
516 msgid "Multiplication assignment operator"
517 msgstr "乗算代入演算子"
518
519 msgid "Its syntax is ``column1 *= column2``."
520 msgstr "構文は ``column1 *= column2`` です。"
521
522 msgid "The operator performs multiplication assignment operation on column1 by column2."
523 msgstr "この演算子は ``column1`` に ``column2`` を乗算演算する。"
524
525 msgid "The value of ``_score`` by ``--filter`` is always 1 in this case, then performs subtraction assignment operation such as '_score = _score * n_likes' for each records."
526 msgstr "``--filter`` による ``_score`` の値はこの場合は常に1です。その後、'_score = _score * n_likes' という乗算代入演算をそれぞれのレコードへ適用します。"
527
528 msgid "So the expression ``1 * 3`` is evaluated and stored to ``_score`` column as the execution result."
529 msgstr "そのため、 ``1 * 3`` という式が評価されてから ``_score`` カラムへと演算結果が保存されます。"
530
531 msgid "Division assignment operator"
532 msgstr "除算代入演算子"
533
534 msgid "Its syntax is ``column1 /= column2``."
535 msgstr "構文は ``column1 /= column2`` です。"
536
537 msgid "The operator performs division assignment operation on column1 by column2."
538 msgstr "この演算子は ``column1`` に ``column2`` を除算代入します。"
539
540 msgid "The value of ``_score`` by ``--filter`` is always 1 in this case, then performs subtraction assignment operation such as '_score = _score / n_likes' for each records."
541 msgstr "``--filter`` による ``_score`` の値はこの場合は常に1です。その後、'_score = _score / n_likes' という除算代入演算をそれぞれのレコードへ適用します。"
542
543 msgid "So the expression ``1 / 3`` is evaluated and stored to ``_score`` column as the execution result."
544 msgstr "そのため、 ``1 / 3`` という式が評価されてから ``_score`` カラムへと演算結果が保存されます。"
545
546 msgid "Modulo assignment operator"
547 msgstr "剰余代入演算子"
548
549 msgid "Its syntax is ``column1 %= column2``."
550 msgstr "構文は ``column1 %= column2`` です。"
551
552 msgid "The operator performs modulo assignment operation on column1 by column2."
553 msgstr "この演算子は ``column1`` に ``column2`` を剰余代入します。"
554
555 msgid "The value of ``_score`` by ``--filter`` is always 1 in this case, then performs subtraction assignment operation such as '_score = _score % n_likes' for each records."
556 msgstr "``--filter`` による ``_score`` の値はこの場合は常に1です。その後、'_score = _score % n_likes' という除算代入演算をそれぞれのレコードへ適用します。"
557
558 msgid "So the expression ``1 % 3`` is evaluated and stored to ``_score`` column as the execution result."
559 msgstr "そのため、 ``1 % 3`` という式が評価されてから ``_score`` カラムへと演算結果が保存されます。"
560
561 msgid "Bitwise left shift assignment operator"
562 msgstr "左シフト代入演算子"
563
564 msgid "Its syntax is ``column1 <<= column2``."
565 msgstr "構文は ``column1 << column2`` です。"
566
567 msgid "The operator performs left shift assignment operation on column1 by column2."
568 msgstr "この演算子は ``column1`` のビットを左に ``column2`` 左ビットシフト代入演算します。"
569
570 msgid "The value of ``_score`` by ``--filter`` is always 1 in this case, then performs subtraction assignment operation such as '_score = _score << n_likes' for each records."
571 msgstr "``--filter`` による ``_score`` の値はこの場合は常に1です。その後、'_score = _score << n_likes' という左ビットシフト代入演算をそれぞれのレコードへ適用します。"
572
573 msgid "So the expression ``1 << 3`` is evaluated and stored to ``_score`` column as the execution result."
574 msgstr "そのため、 ``1 << 3`` という式が評価されてから ``_score`` カラムへと演算結果が保存されます。"
575
576 msgid "Bitwise signed right shift assignment operator"
577 msgstr "符号あり右シフト代入演算子"
578
579 msgid "Its syntax is ``column2 >>= column2``."
580 msgstr "構文は ``column1 >>= column2`` です。"
581
582 msgid "The operator performs signed right shift assignment operation on column1 by column2."
583 msgstr "この演算子は ``column1`` のビットを ``column2`` 右ビットシフト代入演算します。"
584
585 msgid "Bitwise unsigned right shift assignment operator"
586 msgstr "符号なし右シフト代入演算子"
587
588 msgid "Its syntax is ``column1 >>>= column2``."
589 msgstr "構文は ``column1 >>>= column2`` です。"
590
591 msgid "The operator performs unsigned right shift assignment operation on column1 by column2."
592 msgstr "この演算子は ``column1`` のビットを ``column2`` 符号なし右ビットシフト代入演算します。"
593
594 msgid "Bitwise AND assignment operator"
595 msgstr "ビット論理積代入演算子"
596
597 msgid "Its syntax is ``column1 &= column2``."
598 msgstr "構文は ``column1 &= column2`` です。"
599
600 msgid "The operator performs bitwise AND assignment operation on column1 by column2."
601 msgstr "この演算子は ``column1`` に ``column2`` をビット論理積代入演算します。"
602
603 msgid "The value of ``_score`` by ``--filter`` is always 1 in this case, then performs subtraction assignment operation such as '_score = _score & n_likes' for each records."
604 msgstr "``--filter`` による ``_score`` の値はこの場合は常に1です。その後、'_score = _score & n_likes' というビット論理積代入演算をそれぞれのレコードへ適用します。"
605
606 msgid "For example, the value of ``_score`` about the record which stores \"Groonga\" as the ``_key`` is 10."
607 msgstr "例えば、 ``_key`` として\"Groonga\"を格納しているレコードの値は10です。"
608
609 msgid "So the expression ``1 & 10`` is evaluated and stored to ``_score`` column as the execution result."
610 msgstr "そのため、 ``1 & 10`` という式が評価されてから ``_score`` カラムへと演算結果が保存されます。"
611
612 msgid "Bitwise OR assignment operator"
613 msgstr "ビット論理和代入演算子"
614
615 msgid "Its syntax is ``column1 |= column2``."
616 msgstr "構文は ``column1 |= column2`` です。"
617
618 msgid "The operator performs bitwise OR assignment operation on column1 by column2."
619 msgstr "この演算子は ``column1`` に ``column2`` をビット論理和代入演算する。"
620
621 msgid "The value of ``_score`` by ``--filter`` is always 1 in this case, then performs subtraction assignment operation such as '_score = _score | n_likes' for each records."
622 msgstr "``--filter`` による ``_score`` の値はこの場合は常に1です。その後、'_score = _score | n_likes' というビット論理和代入演算をそれぞれのレコードへ適用します。"
623
624 msgid "So the expression ``1 | 10`` is evaluated and stored to ``_score`` column as the execution result."
625 msgstr "そのため、 ``1 | 10`` という式が評価されてから ``_score`` カラムへと演算結果が保存されます。"
626
627 msgid "Bitwise XOR assignment operator"
628 msgstr "ビット排他的論理和代入演算子"
629
630 msgid "Its syntax is ``column1 ^= column2``."
631 msgstr "構文は ``column1 ^= column2`` です。"
632
633 msgid "The operator performs bitwise XOR assignment operation on column1 by column2."
634 msgstr "この演算子は ``column1`` に ``column2`` をビット論理和代入演算する。"
635
636 msgid "The value of ``_score`` by ``--filter`` is always 1 in this case, then performs subtraction assignment operation such as '_score = _score ^ n_likes' for each records."
637 msgstr "``--filter`` による ``_score`` の値はこの場合は常に1です。その後、'_score = _score ^ n_likes' という減算代入演算をそれぞれのレコードへ適用します。"
638
639 msgid "So the expression ``1 ^ 3`` is evaluated and stored to ``_score`` column as the execution result."
640 msgstr "そのため、 ``1 ^ 3`` という式が評価されてから ``_score`` カラムへと演算結果が保存されます。"
641
642 msgid "Original operators"
643 msgstr "独自の演算子"
644
645 msgid "Script syntax adds the original binary operators to ECMAScript syntax. They operate search specific operations. They are starts with ``@`` or ``*``."
646 msgstr "スクリプト構文はECMAScriptの構文に独自の二項演算子を追加しています。これらは検索に特化した操作をします。演算子の最初の文字は ``@`` または ``*`` です。"
647
648 msgid "Match operator"
649 msgstr "マッチ演算子"
650
651 msgid "Its syntax is ``column @ value``."
652 msgstr "構文は ``column @ value`` です。"
653
654 msgid "The operator searches ``value`` by inverted index of ``column``. Normally, full text search is operated but tag search can be operated. Because tag search is also implemented by inverted index."
655 msgstr "この演算子は ``column`` の転置インデックスを使って ``value`` を検索します。普通は全文検索をしますが、タグ検索もできます。これは、タグ検索も転置インデックスを使って実現しているからです。"
656
657 msgid ":doc:`query_syntax` uses this operator by default."
658 msgstr ":doc:`query_syntax` はデフォルトでこの演算子を使っています。"
659
660 msgid "The expression matches records that contain a word ``fast`` in ``content`` column value."
661 msgstr "この式は ``content`` カラムの値に ``fast`` という単語を含んでいるレコードにマッチします。"
662
663 msgid "Prefix search operator"
664 msgstr "前方一致検索演算子"
665
666 msgid "Its syntax is ``column @^ value``."
667 msgstr "構文は ``column @^ value`` です。"
668
669 msgid "The operator does prefix search with ``value``. Prefix search searches records that contain a word that starts with ``value``."
670 msgstr "この条件式は ``value`` で前方一致検索します。前方一致検索は ``value`` で始まる単語を含むレコードを検索します。"
671
672 msgid "You can use fast prefix search against a column. The column must be indexed and index table must be patricia trie table (``TABLE_PAT_KEY``) or double array trie table (``TABLE_DAT_KEY``). You can also use fast prefix search against ``_key`` pseudo column of patricia trie table or double array trie table. You don't need to index ``_key``."
673 msgstr "カラムの値を高速に前方一致検索できます。ただし、そのカラムにはインデックスを作成し、そのインデックス用のテーブルをパトリシアトライ( ``TABLE_PAT_KEY`` )またはダブル配列トライ( ``TABLE_DAT_KEY`` )にしなければいけません。あるいは、パトリシアトライテーブルまたはダブル配列テーブルの ``_key`` も高速に前方一致検索できます。 ``_key`` にインデックスを作成する必要はありません。"
674
675 msgid "Prefix search can be used with other table types but it causes all records scan. It's not problem for small records but it spends more time for large records."
676 msgstr "他の種類のテーブルでも前方一致検索を使えますがレコード全件を処理します。レコード数が少ない場合には問題ありませんが、レコード数が多いと時間がかかります。"
677
678 msgid "The expression matches records that contain a word that starts with ``Goo`` in ``_key`` pseudo column value. ``Good-bye Senna`` and ``Good-bye Tritonn`` are matched with the expression."
679 msgstr "この式は ``_key`` カラムの値が ``Goo`` で始まる単語を含むレコードにマッチします。この式には ``Good-bye Senna`` と ``Good-bye Tritonn`` がマッチします。"
680
681 msgid "Suffix search operator"
682 msgstr "後方一致検索演算子"
683
684 msgid "Its syntax is ``column @$ value``."
685 msgstr "構文は ``column @$ value`` です。"
686
687 msgid "This operator does suffix search with ``value``. Suffix search searches records that contain a word that ends with ``value``."
688 msgstr "この演算子は ``value`` で後方一致検索します。後方一致検索は ``value`` で終わる単語を含むレコードを検索します。"
689
690 msgid "You can use fast suffix search against a column. The column must be indexed and index table must be patricia trie table (``TABLE_PAT_KEY``) with ``KEY_WITH_SIS`` flag. You can also use fast suffix search against ``_key`` pseudo column of patricia trie table (``TABLE_PAT_KEY``) with ``KEY_WITH_SIS`` flag. You don't need to index ``_key``. We recommended that you use index column based fast suffix search instead of ``_key`` based fast suffix search. ``_key`` based fast suffix search returns automatically registered substrings. (TODO: write document about suffix search and link to it from here.)"
691 msgstr "カラムの値を高速に後方一致検索できます。ただし、そのカラムにはインデックスを作成し、そのインデックス用のテーブルを ``KEY_WITH_SIS`` フラグ付きのパトリシアトライテーブル( ``TABLE_PAT_KEY`` )にしなければいけません。 ``KEY_WITH_SIS`` フラグ付きのパトリシアトライテーブル( ``TABLE_PAT_KEY`` )の ``_key`` 擬似カラムの値も高速に後方一致検索できます。 ``_key`` にはインデックスを作成する必要はありません。 ``_key`` ベースの高速な後方一致検索よりもカラムベースの高速な後方一致検索を使うことをおすすめします。 ``_key`` ベースの高速な後方一致検索は自動的に登録された部分文字列も返ってきます。(TODO: 後方一致検索に関するドキュメントを書いてここからリンクを張る。)"
692
693 msgid "Fast suffix search can be used only for non-ASCII characters such as hiragana in Japanese. You cannot use fast suffix search for ASCII character."
694 msgstr "高速な後方一致検索は日本語のひらがななど非ASCII文字にしか使えません。ASCII文字には高速な後方一致検索を使えません。"
695
696 msgid "Suffix search can be used with other table types or patricia trie table without ``KEY_WITH_SIS`` flag but it causes all records scan. It's not problem for small records but it spends more time for large records."
697 msgstr "後方一致検索は他の種類のテーブルもしくはパトリシアトライを ``KEY_WITH_SIS`` フラグなしで使用しているテーブルに対しても使えますが、レコード全件を処理します。レコード数が少ない場合には問題ありませんが、レコード数が多いと時間がかかります。"
698
699 msgid "Here is a simple example. It uses fast suffix search for hiragana in Japanese that is one of non-ASCII characters."
700 msgstr "簡単な例です。ASCII文字ではない文字である日本語のひらがなに対して高速な後方一致検索をしています。"
701
702 msgid "The expression matches records that have value that ends with ``んが`` in ``content`` column value. ``ぐるんが`` and ``むるんが`` are matched with the expression."
703 msgstr "この式は ``content`` カラムの値が ``んが`` で終わるレコードにマッチします。この場合は ``ぐるんが`` と ``むるんが`` にマッチします。"
704
705 msgid "Near search operator"
706 msgstr "近傍検索演算子"
707
708 msgid "Its syntax is one of them::"
709 msgstr "構文は以下のどれかです。::"
710
711 msgid "Here are the examples of the second form::"
712 msgstr "2つめの形式の例は次の通りです。"
713
714 msgid "The first example means that ``29`` is used for the max interval."
715 msgstr "最初の例は近いと判断する最大距離として ``29`` を使うという意味です。"
716
717 msgid "The second example means that ``-1`` is used for the max interval. ``-1`` max interval means no limit."
718 msgstr "2つめの例は近いと判断する最大距離として ``-1`` を使うという意味です。 ``-1`` はどれだけ離れていてもよいという意味です。"
719
720 msgid "Here are examples of the third form::"
721 msgstr "3つめの形式の例は次の通りです。"
722
723 msgid "The first example means that ``2`` is used for the max interval of the first interval and ``3`` is used for the max interval of the second interval."
724 msgstr "最初の例は最初のトークン間の最大距離として ``2`` を使い、2番目のトークン間の最大距離として ``3`` を使うという意味です。"
725
726 msgid "The second example means that ``2`` is used for the first max interval of the first interval and ``-1`` is used for the max interval of the second interval. Because the omitted max interval is treated as ``-1``."
727 msgstr "2番目の例は最初のトークン間の最大距離として ``2`` を使い、2番目のトークン間の最大距離として ``-1`` を使うという意味です。なぜなら省略された最大距離は ``-1`` として処理されるからです。"
728
729 msgid "The max intervals of each token (word) are described later."
730 msgstr "トークン(単語)間の最大距離は後で説明します。"
731
732 msgid "The operator does near search with words ``word1 word2 ...``. Near search searches records that contain the words and the words are appeared in the specified order and the max interval."
733 msgstr "この演算子は ``word1 word2 ...`` という単語で近傍検索します。近傍検索はすべての単語が含まれていてかつそれぞれが指定した順番で出現していてかつそれぞれの単語が指定した距離以内にあるレコードを検索します。"
734
735 msgid "The max interval is ``10`` by default. The unit of the max interval is the number of characters in N-gram family tokenizers and the number of words in morphological analysis family tokenizers."
736 msgstr "近いと判断する最大距離のデフォルトは ``10`` です。距離の単位はN-gram系のトークナイザーでは文字数で、形態素解析系のトークナイザーでは単語数です。"
737
738 msgid "However, ``TokenBigram`` doesn't split ASCII only word into tokens. Because ``TokenBigram`` uses white-space-separate like tokenize method for ASCII characters in this case."
739 msgstr "しかし、``TokenBigram`` はASCIIだけの単語はトークンに分割しません。このケースでは、 ``TokenBigram`` はASCIIの文字には空白区切りのようなトークナイズ方法を使うためです。"
740
741 msgid "So the unit for ASCII words with ``TokenBigram`` is the number of words even if ``TokenBigram`` is a N-gram family tokenizer."
742 msgstr "このため、 ``TokenBigram`` はN-gram系のトークナイザーですが、ASCIIだけの単語を扱う時の単位は単語数になります。"
743
744 msgid "Note that an index column for full text search must be defined for ``column``."
745 msgstr "``column`` 用の全文検索用インデックスカラムを定義しておく必要があることに注意してください。"
746
747 msgid "The first expression matches records that contain ``I`` and ``fast`` and the max interval of those words are in 10 words. So the record that its content is ``I started to use Groonga. It's very fast!`` is matched. The number of words between ``I`` and ``fast`` is 7."
748 msgstr "最初の式は ``I`` と ``fast`` が含まれていて、かつ、これらの単語が10単語以内近くにあるレコードにマッチします。そのため ``I started to use Groonga. It's very fast!`` にマッチします。 ``I`` と ``fast`` の間の単語数は7です。"
749
750 msgid "The second expression matches records that contain ``I`` and ``Really`` and the max interval of those words are in 10 words. So the record that its content is ``I also started to use mroonga. It's also very fast! Really fast!`` is not matched. The number of words between ``I`` and ``Really`` is 11."
751 msgstr "二番目の式は ``I`` と ``Really`` が含まれていて、かつ、これらの単語が10単語以内近くにあるレコードにマッチします。そのため、 ``I also st arted to use mroonga. It's also very fast! Really fast!`` はマッチしません。 ``I`` と ``Really`` の間の単語数は11です。"
752
753 msgid "The third expression matches records that contain ``also`` and ``Really`` and the max interval of those words are in 10 words. So the record that its content is ``I also st arted to use mroonga. It's also very fast! Really fast!`` is matched. The number of words between ``also`` and ``Really`` is 10."
754 msgstr "三番目の式は ``also`` と ``Really`` が含まれていて、かつ、これらの単語が10単語以内近くにあるレコードにマッチします。そのため、 ``I also started to use mroonga. It's also very fast! Really fast!`` にマッチします。 ``also`` と ``Really`` の間の単語数は10です。"
755
756 msgid "The max intervals of each token."
757 msgstr "各トークン間の最大距離。"
758
759 msgid "You can specify the max intervals of each token. The default is no limit. It means that all intervals of each token are valid as long as the max interval is satisfied."
760 msgstr "各トークン間の最大距離を指定することができます。デフォルトでは制限はありません。これは全体の最大距離が満たされていれば各トークン間の距離は問わないということです。"
761
762 msgid "Here is an example that use ``2`` for the max interval of the first interval and ``4`` for the max interval of the second interval::"
763 msgstr "以下は最初のトークン間の最大距離として ``2`` を使い、2番目のトークン間の最大距離として ``4`` を使う例です。::"
764
765 msgid "``10`` is the max interval."
766 msgstr "``10`` は最大距離です。"
767
768 msgid "``|`` is the separator of the max intervals of each token."
769 msgstr "トークン間の最大距離は ``|`` で区切ります。"
770
771 msgid "This matches ``a x b x x x c``. But this doesn't match ``a x x b c``, ``a b x x x x c`` and so on because the former has ``3`` interval for the first interval that is larger than ``2`` and the latter has ``5`` interval for the second interval that is later than ``4``."
772 msgstr "これは ``a x b x x x c`` にマッチします。しかし、これは ``a x x b c`` や ``a b x x x x c`` にはマッチしません。なぜなら、前者は最初のトークン間の距離が ``3`` で ``2`` より大きいからです。後者は2番目のトークン間の距離が ``5`` で ``4`` より大きいからです。"
773
774 msgid "Here is an example that specifies the max intervals of each token:"
775 msgstr "以下は各トークン間の最大距離を指定する例です。"
776
777 msgid "You can omit one or more intervals. Omitted intervals are treated as ``-1``. It means that ``*N11,5`` equals ``*N11,5|-1``. ``-1`` means that no limit."
778 msgstr "1つ以上のトークン間の最大距離を省略することができます。省略されたトークン間の最大距離は ``-1`` として扱われます。これは ``*N11,5`` と ``*N11,5|-1`` は等しいということです。 ``-1`` は最大距離の制限がないという意味です。"
779
780 msgid "Here is an example that omits an interval:"
781 msgstr "以下は1つのトークン間の最大距離を省略する例です。"
782
783 msgid "You can specify extra intervals. They are just ignored:"
784 msgstr "トークン間の最大距離を余分に指定することもできます。余分な最大距離は単に無視されます。"
785
786 msgid "Near phrase search operator"
787 msgstr "近傍フレーズ検索演算子"
788
789 msgid "Here are examples of the second form::"
790 msgstr "2つめの形式の例は次の通りです。"
791
792 msgid "The second example means that ``-1`` is used for the max interval."
793 msgstr "2つめの例は近いと判断する最大距離として ``-1`` を使うという意味です。"
794
795 msgid "The max interval is described later."
796 msgstr "最大距離は後で説明します。"
797
798 msgid "The first example means that ``29`` is used for the additional last interval."
799 msgstr "最初の例は最後の追加距離として ``29`` を使うという意味です。"
800
801 msgid "The second example means that ``-1`` is used for the additional last interval."
802 msgstr "2つめの例は最後の追加距離として ``-1`` を使うという意味です。"
803
804 msgid "The additional last interval is described later."
805 msgstr "最後の追加距離は後で説明します。"
806
807 msgid "The max intervals of each phrase."
808 msgstr "各フレーズ間の最大距離。"
809
810 msgid "Here are examples of the forth form::"
811 msgstr "4つめの形式の例は次の通りです。"
812
813 msgid "See :ref:`script-syntax-near-phrase-search-operator` for the max intervals of each phrase."
814 msgstr "各フレーズ間の最大距離については :ref:`script-syntax-near-phrase-search-operator` を参照してください。"
815
816 msgid "The operator does near phrase search with phrases ``phrase1 phrase2 ...``. Near phrase search searches records that contain the phrases and the phrases are appeared in the specified order and the max interval."
817 msgstr "この演算子は ``phrase1 phrase2 ...`` というフレーズで近傍フレーズ検索します。近傍フレーズ検索はすべてのフレーズが含まれていてかつそれぞれが指定した順番で出現していてかつそれぞれのフレーズが指定した距離以内にあるレコードを検索します。"
818
819 msgid "TODO: Use index that has ``TokenNgram(\"unify_alphabet\", false)`` tokenizer to show difference with near search with English text."
820 msgstr ""
821
822 msgid "The first expression matches records that contain ``I`` and ``fast`` and the max interval of those words are in 10 words. So the record that its content is ``I also started to use mroonga. It's also very fast! ...`` is matched. The number of words between ``I`` and ``fast`` is just 10."
823 msgstr "最初の式は ``I`` と ``fast`` が含まれていて、かつ、これらの単語が10単語以内近くにあるレコードにマッチします。そのため ``I also started to use mroonga. It's also very fast! ...`` にマッチします。 ``I`` と ``fast`` の間の単語数は10です。"
824
825 msgid "The second expression matches records that contain ``I`` and ``Really`` and the max interval of those words are in 10 words. So the record that its content is ``I also started to use mroonga. It's also very fast! Really fast!`` is not matched. The number of words between ``I`` and ``Really`` is 14."
826 msgstr "2番目の式は ``I`` と ``Really`` が含まれていて、かつ、これらの単語が10単語以内近くにあるレコードにマッチします。そのため、 ``I also started to use mroonga. It's also very fast! Really fast!`` はマッチしません。 ``I`` と ``Really`` の間の単語数は14です。"
827
828 msgid "Here is an example to use the custom max interval:"
829 msgstr "以下は1つの最大距離をカスタマイズする例です。"
830
831 msgid "The first expression matches ``I also started to use mroonga. It's also very fast! Really fast!`` because the number of words between ``I`` and ``Really`` is 14."
832 msgstr "2番目の式は ``I also started to use mroonga. It's also very fast! Really fast!`` にマッチします。なぜなら ``I`` と ``Really`` の間の単語は14だからです。"
833
834 msgid "The second expression also matches ``I also started to use mroonga. It's also very fast! Really fast!`` because ``-1`` means that there is no limitation the number of words between ``I`` and ``Really``."
835 msgstr "2番目の式も ``I also started to use mroonga. It's also very fast! Really fast!`` にマッチします。なぜなら ``-1`` は ``I`` と ``Really`` の間にいくつ単語があってもよいという意味だからです。"
836
837 msgid "You can use additional interval only for the last phrase. It means that you can accept more distance only between the second to last phrase and the last phrase. This is useful for implementing a near phrase search in the same sentence. If you specify ``.`` (sentence end phrase) as the last phrase and specify ``-1`` as the additional last interval, the other specified phrases must be appeared before ``.``. You must append ``$`` to the last phrase like ``.$``."
838 msgstr "最後のフレーズにだけ距離を追加することができます。つまり、最後から2番目のフレーズと最後のフレーズの間だけより多くの距離を許容できるということです。これは同一文内での近傍フレーズ検索を実装するときに便利です。最後のフレーズとして ``。`` (文末のフレーズ)を指定し、最後の追加距離として ``-1`` を指定すると、 ``。`` の前に他のすべてのフレーズが出現しなければいけません。最後のフレーズには ``。$`` というように最後に ``$`` をつけなければいけません。"
839
840 msgid "Here is an example that uses ``-1`` as the additional last interval of the given phrases::"
841 msgstr "以下は指定されたフレーズ群の最後の追加距離として ``-1`` を使う例です。::"
842
843 msgid "Here is an example to customize the additional last interval of the given phrases:"
844 msgstr "以下は指定したフレーズ群の最後の追加距離をカスタマイズする例です。"
845
846 msgid "You can also use positive number for the additional last interval. If you specify positive number as the additional last interval, all of the following conditions must be satisfied:"
847 msgstr "最後の追加距離に正の数を指定することもできます。最後の追加距離に正の数を指定した場合、次のすべての条件を満たす必要があります。"
848
849 msgid "The interval between the first phrase and the second to last phrase is less than or equals to ``the max interval``."
850 msgstr "最初のフレーズと最後から2番目のフレーズの距離は ``最大距離`` 以下でなければいけない。"
851
852 msgid "The interval between the first phrase and the last phrase is less than or equals to ``the max interval`` + ``the additional last interval``."
853 msgstr "最初のフレーズと最後のフレーズの距離は ``最大距離`` + ``最後の追加距離`` 以下でなければいけない。"
854
855 msgid "If you specify negative number as the additional last interval, the second condition isn't required. Appearing the last phrase is just needed."
856 msgstr "最後の追加距離に負の数を指定した場合は2番目の条件を満たさなくてもよいです。最後のフレーズが出現するだけでよいです。"
857
858 msgid "Here is an example to use positive number as the additional last interval:"
859 msgstr "以下は最後の追加距離として正の数を指定する例です。"
860
861 msgid "Near phrase product search operator"
862 msgstr "近傍フレーズ直積検索演算子"
863
864 msgid "This operator does multiple :ref:`script-syntax-near-phrase-search-operator`. Phrases for each :ref:`script-syntax-near-phrase-search-operator` are computed as product of ``{phrase1_1, phrase1_2, ...}``, ``{phrase2_1, phrase2_2, ...}`` and ``...``. For example, ``column *NPP \"(a b c) (d e)\"`` uses the following phrases for near phrase searches:"
865 msgstr "この演算子は複数の :ref:`script-syntax-near-phrase-search-operator` を使います。各 :ref:`script-syntax-near-phrase-search-operator` が使うフレーズ群は ``{フレーズ1-1, フレーズ1-2, ...}`` と ``{フレーズ2-1, フレーズ2-2, ...}`` と ``...`` の直積として計算します。たとえば、 ``column *NPP \"(a b c) (d e)\"`` は以下のフレーズ群のリストで近傍フレーズ検索をします。"
866
867 msgid "``a d``"
868 msgstr ""
869
870 msgid "``a e``"
871 msgstr ""
872
873 msgid "``b d``"
874 msgstr ""
875
876 msgid "``b e``"
877 msgstr ""
878
879 msgid "``c d``"
880 msgstr ""
881
882 msgid "``c e``"
883 msgstr ""
884
885 msgid "You can use the all features of :ref:`script-syntax-near-phrase-search-operator` such as the max interval, ``$`` for the last phrase and the additional last interval."
886 msgstr "最大距離や ``$`` による最後のフレーズ指定や最後の追加距離など :ref:`script-syntax-near-phrase-search-operator` のすべての機能を使うことができます。"
887
888 msgid "This is more effective than multiple :ref:`script-syntax-near-phrase-search-operator` ."
889 msgstr "これは複数の :ref:`script-syntax-near-phrase-search-operator` よりも効率的です。"
890
891 msgid "Ordered near phrase search operator"
892 msgstr "順序付き近傍フレーズ検索演算子"
893
894 msgid "This operator does ordered near phrase search with ``phrase1``, ``phrase2`` and ``...``. Ordered near phrase search is similar to :ref:`script-syntax-near-phrase-search-operator` but ordered near phrase search checks phrases order. For example, ``column *ONP \"groonga mroonga pgroonga\"`` matches ``groonga mroonga rroonga pgroonga`` but doesn't match ``groonga rroonga pgroonga mroonga``. Because the latter uses different order."
895 msgstr "この演算子は ``フレーズ1`` と ``フレーズ2`` と ``...`` で順序付き近傍フレーズ検索をします。順序付き近傍フレーズ検索は :ref:`script-syntax-near-phrase-search-operator` と似ていますが順序付き近傍フレーズ検索はフレーズの順番をチェックします。たとえば、 ``column *ONP \"groonga mroonga pgroonga\"`` は ``groonga mroonga rroonga pgroonga`` にマッチしますが ``groonga rroonga pgroonga mroonga`` にはマッチしません。なぜなら後者は順序が違うからです。"
896
897 msgid "You can use the all features of :ref:`script-syntax-near-phrase-search-operator` such as the max interval and the additional last interval. But you don't need to specify ``$`` for the last phrase because the last phrase in query is the last phrase."
898 msgstr "最大距離や最後の追加距離といった :ref:`script-syntax-near-phrase-search-operator` のすべての機能を使えます。しかし、最後のフレーズに ``$`` を指定する必要はありません。クエリー内の最後のフレーズが最後のフレーズになるからです。"
899
900 msgid "Ordered near phrase product search operator"
901 msgstr "順序付き近傍フレーズ直積検索演算子"
902
903 msgid "This operator does ordered near phrase product search. Ordered near phrase product search is similar to :ref:`script-syntax-near-phrase-product-search-operator` but ordered near phrase product search checks phrases order like :ref:`query-syntax-ordered-near-phrase-search-condition`. For example, ``column *ONPP \"(a b c) (d e)\"`` matches ``a 1 d`` but doesn't match ``d 1 a``. Because the latter uses different order."
904 msgstr "この演算子は順序付き近傍フレーズ直積検索をします。順序付き近傍フレーズ直積検索は :ref:`script-syntax-near-phrase-product-search-operator` と似ていますが、順序付き近傍フレーズ直積検索は :ref:`query-syntax-ordered-near-phrase-search-condition` のようにフレーズの順序をチェックします。たとえば、 ``column *ONPP \"(a b c) (d e)\"`` は ``a 1 d`` にマッチしますが、 ``d 1 a`` にはマッチしません。なぜなら後者は順序が違うからです。"
905
906 msgid "Similar search operator"
907 msgstr "類似文書検索演算子"
908
909 msgid "Its syntax is ``column *S \"document\"``."
910 msgstr "構文は ``column *S \"document\"`` です。"
911
912 msgid "The operator does similar search with document ``document``. Similar search searches records that have similar content to ``document``."
913 msgstr "この演算子は ``document`` という文書で類似文書検索します。類似文書検索は ``document`` と似た内容を持つレコードを検索します。"
914
915 msgid "The expression matches records that have similar content to ``I migrated all Solr system!``. In this case, records that have ``I migrated all XXX system!`` content are matched."
916 msgstr "この式は ``I migrated all Solr system!`` と似た内容を持つレコードを検索します。この場合は、 ``I migrated all XXX system!`` という内容のレコードがマッチします。"
917
918 msgid "You should use ``TokenMecab`` tokenizer for similar search against Japanese documents. Because ``TokenMecab`` will tokenize target documents to almost words, it improves similar search precision."
919 msgstr "日本語の文書に対して類似文書検索を行う場合は、 ``TokenMecab`` を使う方が良いです。``TokenMecab`` は、対象の文書をほぼ単語にトークナイズするので、類似文書検索の精度が向上するためです。"
920
921 msgid "Term extract operator"
922 msgstr "単語抽出演算子"
923
924 msgid "Its syntax is ``_key *T \"document\"``."
925 msgstr "構文は ``_key *T \"document\"`` です。"
926
927 msgid "The operator extracts terms from ``document``. Terms must be registered as keys of the table of ``_key``."
928 msgstr "この演算子は ``document`` から単語を抽出します。単語は ``_key`` のテーブルのキーとして登録されていなければいけません。"
929
930 msgid "Note that the table must be patricia trie (``TABLE_PAT_KEY``) or double array trie (``TABLE_DAT_KEY``). You can't use hash table (``TABLE_HASH_KEY``) and array (``TABLE_NO_KEY``) because they don't support longest common prefix search. Longest common prefix search is used to implement the operator."
931 msgstr "テーブルはパトリシアトライ( ``TABLE_PAT_KEY`` )またはダブル配列トライ( ``TABLE_DAT_KEY`` )でなければいけません。ハッシュテーブル( ``TABLE_HASH_KEY`` )や配列( ``TABLE_NO_KEY`` )は最長共通接頭辞検索(Longest Common Prefix Search)できないため使えません。この演算子は最長共通接頭辞検索を使っています。"
932
933 msgid "The expression extracts terms that included in document ``Groonga is the successor project to Senna.``. In this case, ``NormalizerAuto`` normalizer is specified to ``Words``. So ``Groonga`` can be extracted even if it is loaded as ``groonga`` into ``Words``. All of extracted terms are also normalized."
934 msgstr "この式は文書 ``Groonga is the successor project to Senna.`` に含まれている単語を抽出します。今回は ``Words`` に ``NormalizerAuto`` ノーマライザーが指定されています。そのため、 ``Words`` には ``groonga`` とロードしていますが ``Groonga`` も抽出できています。また、すべてての抽出された単語も正規化されています。"
935
936 msgid "Regular expression operator"
937 msgstr "正規表現演算子"
938
939 msgid "Its syntax is ``column @~ \"pattern\"``."
940 msgstr "構文は ``column @~ \"pattern\"`` です。"
941
942 msgid "The operator searches records by the regular expression ``pattern``. If a record's ``column`` value is matched to ``pattern``, the record is matched."
943 msgstr "この演算子は正規表現 ``pattern`` でレコードを検索します。もし、レコードの ``column`` の値が ``pattern`` にマッチしたら、そのレコードはマッチしたということです。"
944
945 msgid "``pattern`` must be valid regular expression syntax. See :doc:`/reference/regular_expression` about regular expression syntax details."
946 msgstr "``pattern`` は正規表現の構文になっていなければいけません。正規表現の構文の詳細は :doc:`/reference/regular_expression` を参照してください。"
947
948 msgid "The following example uses ``.roonga`` as pattern. It matches ``Groonga``, ``Mroonga`` and so on."
949 msgstr "以下の例はパターンとして ``.roonga`` を使っています。このパターンは ``Groonga`` 、 ``Mroonga`` といった文字列にマッチします。"
950
951 msgid "In most cases, regular expression is evaluated sequentially. So it may be slow against many records."
952 msgstr "多くの場合、各レコードに対して順に正規表現を評価します。そのため、多くのレコードがある場合は遅くなるかもしれません。"
953
954 msgid "In some cases, Groonga evaluates regular expression by index. It's very fast. See :doc:`/reference/regular_expression` for details."
955 msgstr "いくつかのケースでは、Groongaはインデックスを使って正規表現を評価します。これはとても高速です。詳細は :doc:`/reference/regular_expression` を参照してください。"