Debian Codegraph @

doc/locale/en/LC_MESSAGES/reference/grn_expr/script_syntax.po

raw
1 # -*- po -*-
2 # English translations for Groonga package.
3 # Copyright (C) 2009-2026 Groonga Project
4 # This file is distributed under the same license as the Groonga package.
5 # Automatically generated, 2026.
6 #
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: Groonga 16.0.5\n"
10 "Report-Msgid-Bugs-To: \n"
11 "PO-Revision-Date: 2026-05-22 06:03+0000\n"
12 "Last-Translator: Automatically generated\n"
13 "Language-Team: none\n"
14 "MIME-Version: 1.0\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
17 "Language: en\n"
18 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
19
20 msgid "Script syntax"
21 msgstr "Script syntax"
22
23 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."
24 msgstr "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
26 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."
27 msgstr "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
29 msgid "Security"
30 msgstr "Security"
31
32 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."
33 msgstr "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
35 msgid "Think about the following case."
36 msgstr "Think about the following case."
37
38 msgid "A Groonga application constructs a Groonga request by the following program::"
39 msgstr "A Groonga application constructs a Groonga request by the following program::"
40
41 msgid "``user_input`` is an input from user. If the input is ``query``, here is the constructed :ref:`select-filter` parameter::"
42 msgstr "``user_input`` is an input from user. If the input is ``query``, here is the constructed :ref:`select-filter` parameter::"
43
44 msgid "If the input is ``x\" || true || \"``, here is the constructed :ref:`select-filter` parameter::"
45 msgstr "If the input is ``x\" || true || \"``, here is the constructed :ref:`select-filter` parameter::"
46
47 msgid "This query matches to all records. The user will get all records from your database. The user may be evil."
48 msgstr "This query matches to all records. The user will get all records from your database. The user may be evil."
49
50 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."
51 msgstr "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
53 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:"
54 msgstr "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
56 msgid "True value: Convert it to ``true``."
57 msgstr "True value: Convert it to ``true``."
58
59 msgid "False value: Convert it to ``false``."
60 msgstr "False value: Convert it to ``false``."
61
62 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."
63 msgstr "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
65 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\"``."
66 msgstr "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
68 msgid "Sample data"
69 msgstr "Sample data"
70
71 msgid "Here are a schema definition and sample data to show usage."
72 msgstr "Here are a schema definition and sample data to show usage."
73
74 msgid "Execution example::"
75 msgstr "Execution example::"
76
77 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."
78 msgstr "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."
79
80 msgid "``Entries._key`` column and ``Entries.content`` column are indexed using ``TokenBigram`` tokenizer. So both ``Entries._key`` and ``Entries.content`` are fulltext search ready."
81 msgstr "``Entries._key`` column and ``Entries.content`` column are indexed using ``TokenBigram`` tokenizer. So both ``Entries._key`` and ``Entries.content`` are fulltext search ready."
82
83 msgid "OK. The schema and data for examples are ready."
84 msgstr "OK. The schema and data for examples are ready."
85
86 msgid "Literals"
87 msgstr "Literals"
88
89 msgid "Integer"
90 msgstr "Integer"
91
92 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."
93 msgstr "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."
94
95 msgid "The maximum value of integer literal is ``9223372036854775807`` (``= 2 ** 63 - 1``). The minimum value of integer literal is ``-9223372036854775808`` (``= -(2 ** 63)``)."
96 msgstr "The maximum value of integer literal is ``9223372036854775807`` (``= 2 ** 63 - 1``). The minimum value of integer literal is ``-9223372036854775808`` (``= -(2 ** 63)``)."
97
98 msgid "Float"
99 msgstr "Float"
100
101 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``."
102 msgstr "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``."
103
104 msgid "String"
105 msgstr "String"
106
107 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."
108 msgstr "String literal is ``\"...\"``. You need to escape ``\"`` in literal by prepending ``\\`` such as ``\\\"``. For example, ``\"Say \\\"Hello!\\\".\"`` is a literal for ``Say \"Hello!\".`` string."
109
110 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."
111 msgstr "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."
112
113 msgid "Boolean"
114 msgstr "Boolean"
115
116 msgid "Boolean literal is ``true`` and ``false``. ``true`` means true and ``false`` means false."
117 msgstr "Boolean literal is ``true`` and ``false``. ``true`` means true and ``false`` means false."
118
119 msgid "Null"
120 msgstr "Null"
121
122 msgid "Null literal is ``null``. Groonga doesn't support null value but null literal is supported."
123 msgstr "Null literal is ``null``. Groonga doesn't support null value but null literal is supported."
124
125 msgid "Time"
126 msgstr "Time"
127
128 msgid "This is the groonga original notation."
129 msgstr "This is the groonga original notation."
130
131 msgid "Time literal doesn't exit. There are string time notation, integer time notation and float time notation."
132 msgstr "Time literal doesn't exit. There are string time notation, integer time notation and float time notation."
133
134 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."
135 msgstr "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."
136
137 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."
138 msgstr "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."
139
140 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."
141 msgstr "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."
142
143 msgid "Geo point"
144 msgstr "Geo point"
145
146 msgid "Geo point literal doesn't exist. There is string geo point notation."
147 msgstr "Geo point literal doesn't exist. There is string geo point notation."
148
149 msgid "String geo point notation has the following patterns:"
150 msgstr "String geo point notation has the following patterns:"
151
152 msgid "``\"LATITUDE_IN_MSECxLONGITUDE_IN_MSEC\"``"
153 msgstr "``\"LATITUDE_IN_MSECxLONGITUDE_IN_MSEC\"``"
154
155 msgid "``\"LATITUDE_IN_MSEC,LONGITUDE_IN_MSEC\"``"
156 msgstr "``\"LATITUDE_IN_MSEC,LONGITUDE_IN_MSEC\"``"
157
158 msgid "``\"LATITUDE_IN_DEGREExLONGITUDE_IN_DEGREE\"``"
159 msgstr "``\"LATITUDE_IN_DEGREExLONGITUDE_IN_DEGREE\"``"
160
161 msgid "``\"LATITUDE_IN_DEGREE,LONGITUDE_IN_DEGREE\"``"
162 msgstr "``\"LATITUDE_IN_DEGREE,LONGITUDE_IN_DEGREE\"``"
163
164 msgid "``x`` and ``,`` can be used for separator. Latitude and longitude can be represented in milliseconds or degree."
165 msgstr "``x`` and ``,`` can be used for separator. Latitude and longitude can be represented in milliseconds or degree."
166
167 msgid "Array"
168 msgstr "Array"
169
170 msgid "Array literal is ``[element1, element2, ...]``."
171 msgstr "Array literal is ``[element1, element2, ...]``."
172
173 msgid "Object literal"
174 msgstr "Object literal"
175
176 msgid "Object literal is ``{name1: value1, name2: value2, ...}``. Groonga doesn't support object literal yet."
177 msgstr "Object literal is ``{name1: value1, name2: value2, ...}``. Groonga doesn't support object literal yet."
178
179 msgid "Control syntaxes"
180 msgstr "Control syntaxes"
181
182 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."
183 msgstr "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."
184
185 msgid "``A ? B : C`` returns ``B`` if ``A`` is true, ``C`` otherwise."
186 msgstr "``A ? B : C`` returns ``B`` if ``A`` is true, ``C`` otherwise."
187
188 msgid "Here is a simple example:"
189 msgstr "Here is a simple example:"
190
191 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``."
192 msgstr "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``."
193
194 msgid "Grouping"
195 msgstr "Grouping"
196
197 msgid "Its syntax is ``(...)``. ``...`` is comma separated expression list."
198 msgstr "Its syntax is ``(...)``. ``...`` is comma separated expression list."
199
200 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."
201 msgstr "``(...)`` 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."
202
203 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."
204 msgstr "The first expression doesn't use grouping. It matches records that ``n_likes < 5`` and ``content @ \"senna\"`` are matched or ``content @ \"fast\"`` is matched."
205
206 msgid "The second expression uses grouping. It matches records that ``n_likes < 5`` and one of ``content @ \"senna\"`` or ``content @ \"fast\"`` are matched."
207 msgstr "The second expression uses grouping. It matches records that ``n_likes < 5`` and one of ``content @ \"senna\"`` or ``content @ \"fast\"`` are matched."
208
209 msgid "Function call"
210 msgstr "Function call"
211
212 msgid "Its syntax is ``name(argument1, argument2, ...)``."
213 msgstr "Its syntax is ``name(argument1, argument2, ...)``."
214
215 msgid "``name(argument1, argument2, ...)`` calls a function that is named ``name`` with arguments ``argument1``, ``argument2`` and ``...``."
216 msgstr "``name(argument1, argument2, ...)`` calls a function that is named ``name`` with arguments ``argument1``, ``argument2`` and ``...``."
217
218 msgid "See :doc:`/reference/function` for available function list."
219 msgstr "See :doc:`/reference/function` for available function list."
220
221 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."
222 msgstr "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."
223
224 msgid "Basic operators"
225 msgstr "Basic operators"
226
227 msgid "Groonga supports operators defined in ECMAScript."
228 msgstr "Groonga supports operators defined in ECMAScript."
229
230 msgid "Arithmetic operators"
231 msgstr "Arithmetic operators"
232
233 msgid "Here are arithmetic operators."
234 msgstr "Here are arithmetic operators."
235
236 msgid "Addition operator"
237 msgstr "Addition operator"
238
239 msgid "Its syntax is ``number1 + number2``."
240 msgstr "Its syntax is ``number1 + number2``."
241
242 msgid "The operator adds ``number1`` and ``number2`` and returns the result."
243 msgstr "The operator adds ``number1`` and ``number2`` and returns the result."
244
245 msgid "The expression matches records that ``n_likes`` column value is equal to ``15`` (= ``10 + 5``)."
246 msgstr "The expression matches records that ``n_likes`` column value is equal to ``15`` (= ``10 + 5``)."
247
248 msgid "Subtraction operator"
249 msgstr "Subtraction operator"
250
251 msgid "Its syntax is ``number1 - number2``."
252 msgstr "Its syntax is ``number1 - number2``."
253
254 msgid "The operator subtracts ``number2`` from ``number1`` and returns the result."
255 msgstr "The operator subtracts ``number2`` from ``number1`` and returns the result."
256
257 msgid "The expression matches records that ``n_likes`` column value is equal to ``15`` (= ``20 - 5``)."
258 msgstr "The expression matches records that ``n_likes`` column value is equal to ``15`` (= ``20 - 5``)."
259
260 msgid "Multiplication operator"
261 msgstr "Multiplication operator"
262
263 msgid "Its syntax is ``number1 * number2``."
264 msgstr "Its syntax is ``number1 * number2``."
265
266 msgid "The operator multiplies ``number1`` and ``number2`` and returns the result."
267 msgstr "The operator multiplies ``number1`` and ``number2`` and returns the result."
268
269 msgid "The expression matches records that ``n_likes`` column value is equal to ``15`` (= ``3 * 5``)."
270 msgstr "The expression matches records that ``n_likes`` column value is equal to ``15`` (= ``3 * 5``)."
271
272 msgid "Division operator"
273 msgstr "Division operator"
274
275 msgid "Its syntax is ``number1 / number2`` and ``number1 % number2``."
276 msgstr "Its syntax is ``number1 / number2`` and ``number1 % number2``."
277
278 msgid "The operator divides ``number2`` by ``number1``. ``/`` returns the quotient of result. ``%`` returns the remainder of result."
279 msgstr "The operator divides ``number2`` by ``number1``. ``/`` returns the quotient of result. ``%`` returns the remainder of result."
280
281 msgid "Here is simple examples."
282 msgstr "Here is simple examples."
283
284 msgid "The expression matches records that ``n_likes`` column value is equal to ``3`` (= ``26 / 7``)."
285 msgstr "The expression matches records that ``n_likes`` column value is equal to ``3`` (= ``26 / 7``)."
286
287 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``26 % 7``)."
288 msgstr "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``26 % 7``)."
289
290 msgid "Logical operators"
291 msgstr "Logical operators"
292
293 msgid "Here are logical operators."
294 msgstr "Here are logical operators."
295
296 msgid "Logical NOT operator"
297 msgstr "Logical NOT operator"
298
299 msgid "Its syntax is ``!condition``."
300 msgstr "Its syntax is ``!condition``."
301
302 msgid "The operator inverts boolean value of ``condition``."
303 msgstr "The operator inverts boolean value of ``condition``."
304
305 msgid "The expression matches records that ``n_likes`` column value is not equal to ``5``."
306 msgstr "The expression matches records that ``n_likes`` column value is not equal to ``5``."
307
308 msgid "Logical AND operator"
309 msgstr "Logical AND operator"
310
311 msgid "Its syntax is ``condition1 && condition2``."
312 msgstr "Its syntax is ``condition1 && condition2``."
313
314 msgid "The operator returns true if both of ``condition1`` and ``condition2`` are true, false otherwise."
315 msgstr "The operator returns true if both of ``condition1`` and ``condition2`` are true, false otherwise."
316
317 msgid "The expression matches records that ``content`` column value has the word ``fast`` and ``n_likes`` column value is greater or equal to ``10``."
318 msgstr "The expression matches records that ``content`` column value has the word ``fast`` and ``n_likes`` column value is greater or equal to ``10``."
319
320 msgid "Logical OR operator"
321 msgstr "Logical OR operator"
322
323 msgid "Its syntax is ``condition1 || condition2``."
324 msgstr "Its syntax is ``condition1 || condition2``."
325
326 msgid "The operator returns true if either ``condition1`` or ``condition2`` is true, false otherwise."
327 msgstr "The operator returns true if either ``condition1`` or ``condition2`` is true, false otherwise."
328
329 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` or ``10``."
330 msgstr "The expression matches records that ``n_likes`` column value is equal to ``5`` or ``10``."
331
332 msgid "Logical AND NOT operator"
333 msgstr "Logical AND NOT operator"
334
335 msgid "Its syntax is ``condition1 &! condition2``."
336 msgstr "Its syntax is ``condition1 &! condition2``."
337
338 msgid "The operator returns true if ``condition1`` is true but ``condition2`` is false, false otherwise. It returns difference set."
339 msgstr "The operator returns true if ``condition1`` is true but ``condition2`` is false, false otherwise. It returns difference set."
340
341 msgid "The expression matches records that ``content`` column value has the word ``fast`` but doesn't have the word ``mroonga``."
342 msgstr "The expression matches records that ``content`` column value has the word ``fast`` but doesn't have the word ``mroonga``."
343
344 msgid "Bitwise operators"
345 msgstr "Bitwise operators"
346
347 msgid "Here are bitwise operators."
348 msgstr "Here are bitwise operators."
349
350 msgid "Bitwise NOT operator"
351 msgstr "Bitwise NOT operator"
352
353 msgid "Its syntax is ``~number``."
354 msgstr "Its syntax is ``~number``."
355
356 msgid "The operator returns bitwise NOT of ``number``."
357 msgstr "The operator returns bitwise NOT of ``number``."
358
359 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` because bitwise NOT of ``5`` is equal to ``-6``."
360 msgstr "The expression matches records that ``n_likes`` column value is equal to ``5`` because bitwise NOT of ``5`` is equal to ``-6``."
361
362 msgid "Bitwise AND operator"
363 msgstr "Bitwise AND operator"
364
365 msgid "Its syntax is ``number1 & number2``."
366 msgstr "Its syntax is ``number1 & number2``."
367
368 msgid "The operator returns bitwise AND between ``number1`` and ``number2``."
369 msgstr "The operator returns bitwise AND between ``number1`` and ``number2``."
370
371 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``."
372 msgstr "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``."
373
374 msgid "Bitwise OR operator"
375 msgstr "Bitwise OR operator"
376
377 msgid "Its syntax is ``number1 | number2``."
378 msgstr "Its syntax is ``number1 | number2``."
379
380 msgid "The operator returns bitwise OR between ``number1`` and ``number2``."
381 msgstr "The operator returns bitwise OR between ``number1`` and ``number2``."
382
383 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``1 | 4``)."
384 msgstr "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``1 | 4``)."
385
386 msgid "Bitwise XOR operator"
387 msgstr "Bitwise XOR operator"
388
389 msgid "Its syntax is ``number1 ^ number2``."
390 msgstr "Its syntax is ``number1 ^ number2``."
391
392 msgid "The operator returns bitwise XOR between ``number1`` and ``number2``."
393 msgstr "The operator returns bitwise XOR between ``number1`` and ``number2``."
394
395 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``10 ^ 15``)."
396 msgstr "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``10 ^ 15``)."
397
398 msgid "Shift operators"
399 msgstr "Shift operators"
400
401 msgid "Here are shift operators."
402 msgstr "Here are shift operators."
403
404 msgid "Left shift operator"
405 msgstr "Left shift operator"
406
407 msgid "Its syntax is ``number1 << number2``."
408 msgstr "Its syntax is ``number1 << number2``."
409
410 msgid "The operator performs a bitwise left shift operation on ``number1`` by ``number2``."
411 msgstr "The operator performs a bitwise left shift operation on ``number1`` by ``number2``."
412
413 msgid "The expression matches records that ``n_likes`` column value is equal to ``10`` (= ``5 << 1``)."
414 msgstr "The expression matches records that ``n_likes`` column value is equal to ``10`` (= ``5 << 1``)."
415
416 msgid "Signed right shift operator"
417 msgstr "Signed right shift operator"
418
419 msgid "Its syntax is ``number1 >> number2``."
420 msgstr "Its syntax is ``number1 >> number2``."
421
422 msgid "The operator shifts bits of ``number1`` to right by ``number2``. The sign of the result is the same as ``number1``."
423 msgstr "The operator shifts bits of ``number1`` to right by ``number2``. The sign of the result is the same as ``number1``."
424
425 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``-(-10 >> 1)`` = ``-(-5)``)."
426 msgstr "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``-(-10 >> 1)`` = ``-(-5)``)."
427
428 msgid "Unsigned right shift operator"
429 msgstr "Unsigned right shift operator"
430
431 msgid "Its syntax is ``number1 >>> number2``."
432 msgstr "Its syntax is ``number1 >>> number2``."
433
434 msgid "The operator shifts bits of ``number1`` to right by ``number2``. The leftmost ``number2`` bits are filled by ``0``."
435 msgstr "The operator shifts bits of ``number1`` to right by ``number2``. The leftmost ``number2`` bits are filled by ``0``."
436
437 msgid "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``2147483648 - (-10 >>> 1)`` = ``2147483648 - 2147483643``)."
438 msgstr "The expression matches records that ``n_likes`` column value is equal to ``5`` (= ``2147483648 - (-10 >>> 1)`` = ``2147483648 - 2147483643``)."
439
440 msgid "Comparison operators"
441 msgstr "Comparison operators"
442
443 msgid "Here are comparison operators."
444 msgstr "Here are comparison operators."
445
446 msgid "Equal operator"
447 msgstr "Equal operator"
448
449 msgid "Its syntax is ``object1 == object2``."
450 msgstr "Its syntax is ``object1 == object2``."
451
452 msgid "The operator returns true if ``object1`` equals to ``object2``, false otherwise."
453 msgstr "The operator returns true if ``object1`` equals to ``object2``, false otherwise."
454
455 msgid "The expression matches records that ``n_likes`` column value is equal to ``5``."
456 msgstr "The expression matches records that ``n_likes`` column value is equal to ``5``."
457
458 msgid "Not equal operator"
459 msgstr "Not equal operator"
460
461 msgid "Its syntax is ``object1 != object2``."
462 msgstr "Its syntax is ``object1 != object2``."
463
464 msgid "The operator returns true if ``object1`` does not equal to ``object2``, false otherwise."
465 msgstr "The operator returns true if ``object1`` does not equal to ``object2``, false otherwise."
466
467 msgid "Less than operator"
468 msgstr "Less than operator"
469
470 msgid "TODO: ..."
471 msgstr "TODO: ..."
472
473 msgid "Less than or equal to operator"
474 msgstr "Less than or equal to operator"
475
476 msgid "Greater than operator"
477 msgstr "Greater than operator"
478
479 msgid "Greater than or equal to operator"
480 msgstr "Greater than or equal to operator"
481
482 msgid "Assignment operators"
483 msgstr "Assignment operators"
484
485 msgid "Addition assignment operator"
486 msgstr "Addition assignment operator"
487
488 msgid "Its syntax is ``column1 += column2``."
489 msgstr "Its syntax is ``column1 += column2``."
490
491 msgid "The operator performs addition assignment operation on column1 by column2."
492 msgstr "The operator performs addition assignment operation on column1 by column2."
493
494 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."
495 msgstr "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."
496
497 msgid "For example, the value of ``_score`` about the record which stores \"Good-bye Senna\" as the ``_key`` is 3."
498 msgstr "For example, the value of ``_score`` about the record which stores \"Good-bye Senna\" as the ``_key`` is 3."
499
500 msgid "So the expression ``1 + 3`` is evaluated and stored to ``_score`` column as the execution result."
501 msgstr "So the expression ``1 + 3`` is evaluated and stored to ``_score`` column as the execution result."
502
503 msgid "Subtraction assignment operator"
504 msgstr "Subtraction assignment operator"
505
506 msgid "Its syntax is ``column1 -= column2``."
507 msgstr "Its syntax is ``column1 -= column2``."
508
509 msgid "The operator performs subtraction assignment operation on column1 by column2."
510 msgstr "The operator performs subtraction assignment operation on column1 by column2."
511
512 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."
513 msgstr "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."
514
515 msgid "So the expression ``1 - 3`` is evaluated and stored to ``_score`` column as the execution result."
516 msgstr "So the expression ``1 - 3`` is evaluated and stored to ``_score`` column as the execution result."
517
518 msgid "Multiplication assignment operator"
519 msgstr "Multiplication assignment operator"
520
521 msgid "Its syntax is ``column1 *= column2``."
522 msgstr "Its syntax is ``column1 *= column2``."
523
524 msgid "The operator performs multiplication assignment operation on column1 by column2."
525 msgstr "The operator performs multiplication assignment operation on column1 by column2."
526
527 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."
528 msgstr "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."
529
530 msgid "So the expression ``1 * 3`` is evaluated and stored to ``_score`` column as the execution result."
531 msgstr "So the expression ``1 * 3`` is evaluated and stored to ``_score`` column as the execution result."
532
533 msgid "Division assignment operator"
534 msgstr "Division assignment operator"
535
536 msgid "Its syntax is ``column1 /= column2``."
537 msgstr "Its syntax is ``column1 /= column2``."
538
539 msgid "The operator performs division assignment operation on column1 by column2."
540 msgstr "The operator performs division assignment operation on column1 by column2."
541
542 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."
543 msgstr "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."
544
545 msgid "So the expression ``1 / 3`` is evaluated and stored to ``_score`` column as the execution result."
546 msgstr "So the expression ``1 / 3`` is evaluated and stored to ``_score`` column as the execution result."
547
548 msgid "Modulo assignment operator"
549 msgstr "Modulo assignment operator"
550
551 msgid "Its syntax is ``column1 %= column2``."
552 msgstr "Its syntax is ``column1 %= column2``."
553
554 msgid "The operator performs modulo assignment operation on column1 by column2."
555 msgstr "The operator performs modulo assignment operation on column1 by column2."
556
557 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."
558 msgstr "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."
559
560 msgid "So the expression ``1 % 3`` is evaluated and stored to ``_score`` column as the execution result."
561 msgstr "So the expression ``1 % 3`` is evaluated and stored to ``_score`` column as the execution result."
562
563 msgid "Bitwise left shift assignment operator"
564 msgstr "Bitwise left shift assignment operator"
565
566 msgid "Its syntax is ``column1 <<= column2``."
567 msgstr "Its syntax is ``column1 <<= column2``."
568
569 msgid "The operator performs left shift assignment operation on column1 by column2."
570 msgstr "The operator performs left shift assignment operation on column1 by column2."
571
572 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."
573 msgstr "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."
574
575 msgid "So the expression ``1 << 3`` is evaluated and stored to ``_score`` column as the execution result."
576 msgstr "So the expression ``1 << 3`` is evaluated and stored to ``_score`` column as the execution result."
577
578 msgid "Bitwise signed right shift assignment operator"
579 msgstr "Bitwise signed right shift assignment operator"
580
581 msgid "Its syntax is ``column2 >>= column2``."
582 msgstr "Its syntax is ``column2 >>= column2``."
583
584 msgid "The operator performs signed right shift assignment operation on column1 by column2."
585 msgstr "The operator performs signed right shift assignment operation on column1 by column2."
586
587 msgid "Bitwise unsigned right shift assignment operator"
588 msgstr "Bitwise unsigned right shift assignment operator"
589
590 msgid "Its syntax is ``column1 >>>= column2``."
591 msgstr "Its syntax is ``column1 >>>= column2``."
592
593 msgid "The operator performs unsigned right shift assignment operation on column1 by column2."
594 msgstr "The operator performs unsigned right shift assignment operation on column1 by column2."
595
596 msgid "Bitwise AND assignment operator"
597 msgstr "Bitwise AND assignment operator"
598
599 msgid "Its syntax is ``column1 &= column2``."
600 msgstr "Its syntax is ``column1 &= column2``."
601
602 msgid "The operator performs bitwise AND assignment operation on column1 by column2."
603 msgstr "The operator performs bitwise AND assignment operation on column1 by column2."
604
605 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."
606 msgstr "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."
607
608 msgid "For example, the value of ``_score`` about the record which stores \"Groonga\" as the ``_key`` is 10."
609 msgstr "For example, the value of ``_score`` about the record which stores \"Groonga\" as the ``_key`` is 10."
610
611 msgid "So the expression ``1 & 10`` is evaluated and stored to ``_score`` column as the execution result."
612 msgstr "So the expression ``1 & 10`` is evaluated and stored to ``_score`` column as the execution result."
613
614 msgid "Bitwise OR assignment operator"
615 msgstr "Bitwise OR assignment operator"
616
617 msgid "Its syntax is ``column1 |= column2``."
618 msgstr "Its syntax is ``column1 |= column2``."
619
620 msgid "The operator performs bitwise OR assignment operation on column1 by column2."
621 msgstr "The operator performs bitwise OR assignment operation on column1 by column2."
622
623 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."
624 msgstr "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."
625
626 msgid "So the expression ``1 | 10`` is evaluated and stored to ``_score`` column as the execution result."
627 msgstr "So the expression ``1 | 10`` is evaluated and stored to ``_score`` column as the execution result."
628
629 msgid "Bitwise XOR assignment operator"
630 msgstr "Bitwise XOR assignment operator"
631
632 msgid "Its syntax is ``column1 ^= column2``."
633 msgstr "Its syntax is ``column1 ^= column2``."
634
635 msgid "The operator performs bitwise XOR assignment operation on column1 by column2."
636 msgstr "The operator performs bitwise XOR assignment operation on column1 by column2."
637
638 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."
639 msgstr "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."
640
641 msgid "So the expression ``1 ^ 3`` is evaluated and stored to ``_score`` column as the execution result."
642 msgstr "So the expression ``1 ^ 3`` is evaluated and stored to ``_score`` column as the execution result."
643
644 msgid "Original operators"
645 msgstr "Original operators"
646
647 msgid "Script syntax adds the original binary operators to ECMAScript syntax. They operate search specific operations. They are starts with ``@`` or ``*``."
648 msgstr "Script syntax adds the original binary operators to ECMAScript syntax. They operate search specific operations. They are starts with ``@`` or ``*``."
649
650 msgid "Match operator"
651 msgstr "Match operator"
652
653 msgid "Its syntax is ``column @ value``."
654 msgstr "Its syntax is ``column @ value``."
655
656 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."
657 msgstr "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."
658
659 msgid ":doc:`query_syntax` uses this operator by default."
660 msgstr ":doc:`query_syntax` uses this operator by default."
661
662 msgid "The expression matches records that contain a word ``fast`` in ``content`` column value."
663 msgstr "The expression matches records that contain a word ``fast`` in ``content`` column value."
664
665 msgid "Prefix search operator"
666 msgstr "Prefix search operator"
667
668 msgid "Its syntax is ``column @^ value``."
669 msgstr "Its syntax is ``column @^ value``."
670
671 msgid "The operator does prefix search with ``value``. Prefix search searches records that contain a word that starts with ``value``."
672 msgstr "The operator does prefix search with ``value``. Prefix search searches records that contain a word that starts with ``value``."
673
674 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``."
675 msgstr "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``."
676
677 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."
678 msgstr "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."
679
680 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."
681 msgstr "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."
682
683 msgid "Suffix search operator"
684 msgstr "Suffix search operator"
685
686 msgid "Its syntax is ``column @$ value``."
687 msgstr "Its syntax is ``column @$ value``."
688
689 msgid "This operator does suffix search with ``value``. Suffix search searches records that contain a word that ends with ``value``."
690 msgstr "This operator does suffix search with ``value``. Suffix search searches records that contain a word that ends with ``value``."
691
692 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.)"
693 msgstr "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.)"
694
695 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."
696 msgstr "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."
697
698 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."
699 msgstr "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."
700
701 msgid "Here is a simple example. It uses fast suffix search for hiragana in Japanese that is one of non-ASCII characters."
702 msgstr "Here is a simple example. It uses fast suffix search for hiragana in Japanese that is one of non-ASCII characters."
703
704 msgid "The expression matches records that have value that ends with ``んが`` in ``content`` column value. ``ぐるんが`` and ``むるんが`` are matched with the expression."
705 msgstr "The expression matches records that have value that ends with ``んが`` in ``content`` column value. ``ぐるんが`` and ``むるんが`` are matched with the expression."
706
707 msgid "Near search operator"
708 msgstr "Near search operator"
709
710 msgid "Its syntax is one of them::"
711 msgstr "Its syntax is one of them::"
712
713 msgid "Here are the examples of the second form::"
714 msgstr "Here are the examples of the second form::"
715
716 msgid "The first example means that ``29`` is used for the max interval."
717 msgstr "The first example means that ``29`` is used for the max interval."
718
719 msgid "The second example means that ``-1`` is used for the max interval. ``-1`` max interval means no limit."
720 msgstr "The second example means that ``-1`` is used for the max interval. ``-1`` max interval means no limit."
721
722 msgid "Here are examples of the third form::"
723 msgstr "Here are examples of the third form::"
724
725 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."
726 msgstr "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."
727
728 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``."
729 msgstr "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``."
730
731 msgid "The max intervals of each token (word) are described later."
732 msgstr "The max intervals of each token (word) are described later."
733
734 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."
735 msgstr "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."
736
737 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."
738 msgstr "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."
739
740 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."
741 msgstr "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."
742
743 msgid "So the unit for ASCII words with ``TokenBigram`` is the number of words even if ``TokenBigram`` is a N-gram family tokenizer."
744 msgstr "So the unit for ASCII words with ``TokenBigram`` is the number of words even if ``TokenBigram`` is a N-gram family tokenizer."
745
746 msgid "Note that an index column for full text search must be defined for ``column``."
747 msgstr "Note that an index column for full text search must be defined for ``column``."
748
749 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."
750 msgstr "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."
751
752 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."
753 msgstr "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."
754
755 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."
756 msgstr "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."
757
758 msgid "The max intervals of each token."
759 msgstr "The max intervals of each token."
760
761 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."
762 msgstr "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."
763
764 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::"
765 msgstr "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::"
766
767 msgid "``10`` is the max interval."
768 msgstr "``10`` is the max interval."
769
770 msgid "``|`` is the separator of the max intervals of each token."
771 msgstr "``|`` is the separator of the max intervals of each token."
772
773 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``."
774 msgstr "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``."
775
776 msgid "Here is an example that specifies the max intervals of each token:"
777 msgstr "Here is an example that specifies the max intervals of each token:"
778
779 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."
780 msgstr "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."
781
782 msgid "Here is an example that omits an interval:"
783 msgstr "Here is an example that omits an interval:"
784
785 msgid "You can specify extra intervals. They are just ignored:"
786 msgstr "You can specify extra intervals. They are just ignored:"
787
788 msgid "Near phrase search operator"
789 msgstr "Near phrase search operator"
790
791 msgid "Here are examples of the second form::"
792 msgstr "Here are examples of the second form::"
793
794 msgid "The second example means that ``-1`` is used for the max interval."
795 msgstr "The second example means that ``-1`` is used for the max interval."
796
797 msgid "The max interval is described later."
798 msgstr "The max interval is described later."
799
800 msgid "The first example means that ``29`` is used for the additional last interval."
801 msgstr "The first example means that ``29`` is used for the additional last interval."
802
803 msgid "The second example means that ``-1`` is used for the additional last interval."
804 msgstr "The second example means that ``-1`` is used for the additional last interval."
805
806 msgid "The additional last interval is described later."
807 msgstr "The additional last interval is described later."
808
809 msgid "The max intervals of each phrase."
810 msgstr "The max intervals of each phrase."
811
812 msgid "Here are examples of the forth form::"
813 msgstr "Here are examples of the forth form::"
814
815 msgid "See :ref:`script-syntax-near-phrase-search-operator` for the max intervals of each phrase."
816 msgstr "See :ref:`script-syntax-near-phrase-search-operator` for the max intervals of each phrase."
817
818 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."
819 msgstr "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."
820
821 msgid "TODO: Use index that has ``TokenNgram(\"unify_alphabet\", false)`` tokenizer to show difference with near search with English text."
822 msgstr "TODO: Use index that has ``TokenNgram(\"unify_alphabet\", false)`` tokenizer to show difference with near search with English text."
823
824 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."
825 msgstr "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."
826
827 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."
828 msgstr "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."
829
830 msgid "Here is an example to use the custom max interval:"
831 msgstr "Here is an example to use the custom max interval:"
832
833 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."
834 msgstr "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."
835
836 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``."
837 msgstr "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``."
838
839 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 ``.$``."
840 msgstr "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 ``.$``."
841
842 msgid "Here is an example that uses ``-1`` as the additional last interval of the given phrases::"
843 msgstr "Here is an example that uses ``-1`` as the additional last interval of the given phrases::"
844
845 msgid "Here is an example to customize the additional last interval of the given phrases:"
846 msgstr "Here is an example to customize the additional last interval of the given phrases:"
847
848 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:"
849 msgstr "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:"
850
851 msgid "The interval between the first phrase and the second to last phrase is less than or equals to ``the max interval``."
852 msgstr "The interval between the first phrase and the second to last phrase is less than or equals to ``the max interval``."
853
854 msgid "The interval between the first phrase and the last phrase is less than or equals to ``the max interval`` + ``the additional last interval``."
855 msgstr "The interval between the first phrase and the last phrase is less than or equals to ``the max interval`` + ``the additional last interval``."
856
857 msgid "If you specify negative number as the additional last interval, the second condition isn't required. Appearing the last phrase is just needed."
858 msgstr "If you specify negative number as the additional last interval, the second condition isn't required. Appearing the last phrase is just needed."
859
860 msgid "Here is an example to use positive number as the additional last interval:"
861 msgstr "Here is an example to use positive number as the additional last interval:"
862
863 msgid "Near phrase product search operator"
864 msgstr "Near phrase product search operator"
865
866 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:"
867 msgstr "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:"
868
869 msgid "``a d``"
870 msgstr "``a d``"
871
872 msgid "``a e``"
873 msgstr "``a e``"
874
875 msgid "``b d``"
876 msgstr "``b d``"
877
878 msgid "``b e``"
879 msgstr "``b e``"
880
881 msgid "``c d``"
882 msgstr "``c d``"
883
884 msgid "``c e``"
885 msgstr "``c e``"
886
887 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."
888 msgstr "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."
889
890 msgid "This is more effective than multiple :ref:`script-syntax-near-phrase-search-operator` ."
891 msgstr "This is more effective than multiple :ref:`script-syntax-near-phrase-search-operator` ."
892
893 msgid "Ordered near phrase search operator"
894 msgstr "Ordered near phrase search operator"
895
896 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."
897 msgstr "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."
898
899 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."
900 msgstr "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."
901
902 msgid "Ordered near phrase product search operator"
903 msgstr "Ordered near phrase product search operator"
904
905 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."
906 msgstr "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."
907
908 msgid "Similar search operator"
909 msgstr "Similar search operator"
910
911 msgid "Its syntax is ``column *S \"document\"``."
912 msgstr "Its syntax is ``column *S \"document\"``."
913
914 msgid "The operator does similar search with document ``document``. Similar search searches records that have similar content to ``document``."
915 msgstr "The operator does similar search with document ``document``. Similar search searches records that have similar content to ``document``."
916
917 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."
918 msgstr "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."
919
920 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."
921 msgstr "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."
922
923 msgid "Term extract operator"
924 msgstr "Term extract operator"
925
926 msgid "Its syntax is ``_key *T \"document\"``."
927 msgstr "Its syntax is ``_key *T \"document\"``."
928
929 msgid "The operator extracts terms from ``document``. Terms must be registered as keys of the table of ``_key``."
930 msgstr "The operator extracts terms from ``document``. Terms must be registered as keys of the table of ``_key``."
931
932 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."
933 msgstr "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."
934
935 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."
936 msgstr "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."
937
938 msgid "Regular expression operator"
939 msgstr "Regular expression operator"
940
941 msgid "Its syntax is ``column @~ \"pattern\"``."
942 msgstr "Its syntax is ``column @~ \"pattern\"``."
943
944 msgid "The operator searches records by the regular expression ``pattern``. If a record's ``column`` value is matched to ``pattern``, the record is matched."
945 msgstr "The operator searches records by the regular expression ``pattern``. If a record's ``column`` value is matched to ``pattern``, the record is matched."
946
947 msgid "``pattern`` must be valid regular expression syntax. See :doc:`/reference/regular_expression` about regular expression syntax details."
948 msgstr "``pattern`` must be valid regular expression syntax. See :doc:`/reference/regular_expression` about regular expression syntax details."
949
950 msgid "The following example uses ``.roonga`` as pattern. It matches ``Groonga``, ``Mroonga`` and so on."
951 msgstr "The following example uses ``.roonga`` as pattern. It matches ``Groonga``, ``Mroonga`` and so on."
952
953 msgid "In most cases, regular expression is evaluated sequentially. So it may be slow against many records."
954 msgstr "In most cases, regular expression is evaluated sequentially. So it may be slow against many records."
955
956 msgid "In some cases, Groonga evaluates regular expression by index. It's very fast. See :doc:`/reference/regular_expression` for details."
957 msgstr "In some cases, Groonga evaluates regular expression by index. It's very fast. See :doc:`/reference/regular_expression` for details."