Debian Codegraph @

doc/locale/en/LC_MESSAGES/reference/commands/select.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 "``select``"
21 msgstr "``select``"
22
23 msgid "Summary"
24 msgstr "Summary"
25
26 msgid "``select`` searches records that are matched to specified conditions from a table and then outputs them."
27 msgstr "``select`` searches records that are matched to specified conditions from a table and then outputs them."
28
29 msgid "``select`` is the most important command in groonga. You need to understand ``select`` to use the full power of Groonga."
30 msgstr "``select`` is the most important command in groonga. You need to understand ``select`` to use the full power of Groonga."
31
32 msgid "Syntax"
33 msgstr "Syntax"
34
35 msgid "This command takes many parameters."
36 msgstr "This command takes many parameters."
37
38 msgid "The required parameter is only ``table``. Other parameters are optional::"
39 msgstr "The required parameter is only ``table``. Other parameters are optional::"
40
41 msgid "This command has the following named parameters for dynamic columns:"
42 msgstr "This command has the following named parameters for dynamic columns:"
43
44 msgid "``columns[${NAME}].stage=null``"
45 msgstr "``columns[${NAME}].stage=null``"
46
47 msgid "``columns[${NAME}].flags=COLUMN_SCALAR``"
48 msgstr "``columns[${NAME}].flags=COLUMN_SCALAR``"
49
50 msgid "``columns[${NAME}].type=null``"
51 msgstr "``columns[${NAME}].type=null``"
52
53 msgid "``columns[${NAME}].value=null``"
54 msgstr "``columns[${NAME}].value=null``"
55
56 msgid "``columns[${NAME}].window.sort_keys=null``"
57 msgstr "``columns[${NAME}].window.sort_keys=null``"
58
59 msgid "``columns[${NAME}].window.group_keys=null``"
60 msgstr "``columns[${NAME}].window.group_keys=null``"
61
62 msgid "You can use one or more alphabets, digits, ``_`` for ``${NAME}``. For example, ``column1`` is a valid ``${NAME}``. This is the same rule as normal column. See also :ref:`column-create-name`."
63 msgstr "You can use one or more alphabets, digits, ``_`` for ``${NAME}``. For example, ``column1`` is a valid ``${NAME}``. This is the same rule as normal column. See also :ref:`column-create-name`."
64
65 msgid "Parameters that have the same ``${NAME}`` are grouped."
66 msgstr "Parameters that have the same ``${NAME}`` are grouped."
67
68 msgid "For example, the following parameters specify one dynamic column:"
69 msgstr "For example, the following parameters specify one dynamic column:"
70
71 msgid "``--columns[name].stage initial``"
72 msgstr "``--columns[name].stage initial``"
73
74 msgid "``--columns[name].type UInt32``"
75 msgstr "``--columns[name].type UInt32``"
76
77 msgid "``--columns[name].value 29``"
78 msgstr "``--columns[name].value 29``"
79
80 msgid "The following parameters specify two dynamic columns:"
81 msgstr "The following parameters specify two dynamic columns:"
82
83 msgid "``--columns[name1].stage initial``"
84 msgstr "``--columns[name1].stage initial``"
85
86 msgid "``--columns[name1].type UInt32``"
87 msgstr "``--columns[name1].type UInt32``"
88
89 msgid "``--columns[name1].value 29``"
90 msgstr "``--columns[name1].value 29``"
91
92 msgid "``--columns[name2].stage filtered``"
93 msgstr "``--columns[name2].stage filtered``"
94
95 msgid "``--columns[name2].type Float``"
96 msgstr "``--columns[name2].type Float``"
97
98 msgid "``--columns[name2].value '_score * 0.1'``"
99 msgstr "``--columns[name2].value '_score * 0.1'``"
100
101 msgid "This command has the following named parameters for advanced drilldown:"
102 msgstr "This command has the following named parameters for advanced drilldown:"
103
104 msgid "``drilldowns[${LABEL}].keys=null``"
105 msgstr "``drilldowns[${LABEL}].keys=null``"
106
107 msgid "``drilldowns[${LABEL}].sort_keys=null``"
108 msgstr "``drilldowns[${LABEL}].sort_keys=null``"
109
110 msgid "``drilldowns[${LABEL}].output_columns=\"_key, _nsubrecs\"``"
111 msgstr "``drilldowns[${LABEL}].output_columns=\"_key, _nsubrecs\"``"
112
113 msgid "``drilldowns[${LABEL}].offset=0``"
114 msgstr "``drilldowns[${LABEL}].offset=0``"
115
116 msgid "``drilldowns[${LABEL}].limit=10``"
117 msgstr "``drilldowns[${LABEL}].limit=10``"
118
119 msgid "``drilldowns[${LABEL}].calc_types=NONE``"
120 msgstr "``drilldowns[${LABEL}].calc_types=NONE``"
121
122 msgid "``drilldowns[${LABEL}].calc_target=null``"
123 msgstr "``drilldowns[${LABEL}].calc_target=null``"
124
125 msgid "``drilldowns[${LABEL}].filter=null``"
126 msgstr "``drilldowns[${LABEL}].filter=null``"
127
128 msgid "``drilldowns[${LABEL}].max_n_target_records=-1``"
129 msgstr "``drilldowns[${LABEL}].max_n_target_records=-1``"
130
131 msgid "``drilldowns[${LABEL}].columns[${NAME}].stage=null``"
132 msgstr "``drilldowns[${LABEL}].columns[${NAME}].stage=null``"
133
134 msgid "``drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR``"
135 msgstr "``drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR``"
136
137 msgid "``drilldowns[${LABEL}].columns[${NAME}].type=null``"
138 msgstr "``drilldowns[${LABEL}].columns[${NAME}].type=null``"
139
140 msgid "``drilldowns[${LABEL}].columns[${NAME}].value=null``"
141 msgstr "``drilldowns[${LABEL}].columns[${NAME}].value=null``"
142
143 msgid "``drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null``"
144 msgstr "``drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null``"
145
146 msgid "``drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null``"
147 msgstr "``drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null``"
148
149 msgid "``drilldown[...]`` syntax is deprecated, Use ``drilldowns[...]`` instead."
150 msgstr "``drilldown[...]`` syntax is deprecated, Use ``drilldowns[...]`` instead."
151
152 msgid "You can use one or more alphabets, digits, ``_`` and ``.`` for ``${LABEL}``. For example, ``parent.sub1`` is a valid ``${LABEL}``."
153 msgstr "You can use one or more alphabets, digits, ``_`` and ``.`` for ``${LABEL}``. For example, ``parent.sub1`` is a valid ``${LABEL}``."
154
155 msgid "Parameters that have the same ``${LABEL}`` are grouped."
156 msgstr "Parameters that have the same ``${LABEL}`` are grouped."
157
158 msgid "For example, the following parameters specify one drilldown:"
159 msgstr "For example, the following parameters specify one drilldown:"
160
161 msgid "``--drilldowns[label].keys column``"
162 msgstr "``--drilldowns[label].keys column``"
163
164 msgid "``--drilldowns[label].sort_keys -_nsubrecs``"
165 msgstr "``--drilldowns[label].sort_keys -_nsubrecs``"
166
167 msgid "The following parameters specify two drilldowns:"
168 msgstr "The following parameters specify two drilldowns:"
169
170 msgid "``--drilldowns[label1].keys column1``"
171 msgstr "``--drilldowns[label1].keys column1``"
172
173 msgid "``--drilldowns[label1].sort_keys -_nsubrecs``"
174 msgstr "``--drilldowns[label1].sort_keys -_nsubrecs``"
175
176 msgid "``--drilldowns[label2].keys column2``"
177 msgstr "``--drilldowns[label2].keys column2``"
178
179 msgid "``--drilldowns[label2].sort_keys _key``"
180 msgstr "``--drilldowns[label2].sort_keys _key``"
181
182 msgid "Usage"
183 msgstr "Usage"
184
185 msgid "Let's learn about ``select`` usage with examples. This section shows many popular usages."
186 msgstr "Let's learn about ``select`` usage with examples. This section shows many popular usages."
187
188 msgid "Here are a schema definition and sample data to show usage."
189 msgstr "Here are a schema definition and sample data to show usage."
190
191 msgid "Execution example::"
192 msgstr "Execution example::"
193
194 msgid "There is a table, ``Entries``, for blog entries. An entry has title, content, the number of likes for the entry and tag. Title is key of ``Entries``. Content is value of ``Entries.content`` column. The number of likes is value of ``Entries.n_likes`` column. Tag is value of ``Entries.tag`` column."
195 msgstr "There is a table, ``Entries``, for blog entries. An entry has title, content, the number of likes for the entry and tag. Title is key of ``Entries``. Content is value of ``Entries.content`` column. The number of likes is value of ``Entries.n_likes`` column. Tag is value of ``Entries.tag`` column."
196
197 msgid "``Entries._key`` column and ``Entries.content`` column are indexed using ``TokenBigram`` tokenizer. So both ``Entries._key`` and ``Entries.content`` are fulltext search ready."
198 msgstr "``Entries._key`` column and ``Entries.content`` column are indexed using ``TokenBigram`` tokenizer. So both ``Entries._key`` and ``Entries.content`` are fulltext search ready."
199
200 msgid "OK. The schema and data for examples are ready."
201 msgstr "OK. The schema and data for examples are ready."
202
203 msgid "Simple usage"
204 msgstr "Simple usage"
205
206 msgid "Here is the most simple usage with the above schema and data. It outputs all records in ``Entries`` table."
207 msgstr "Here is the most simple usage with the above schema and data. It outputs all records in ``Entries`` table."
208
209 msgid "Why does the command output all records? There are two reasons. The first reason is that the command doesn't specify any search conditions. No search condition means all records are matched. The second reason is that the number of all records is 5. ``select`` command outputs 10 records at a maximum by default. There are only 5 records. It is less than 10. So the command outputs all records."
210 msgstr "Why does the command output all records? There are two reasons. The first reason is that the command doesn't specify any search conditions. No search condition means all records are matched. The second reason is that the number of all records is 5. ``select`` command outputs 10 records at a maximum by default. There are only 5 records. It is less than 10. So the command outputs all records."
211
212 msgid "Search conditions"
213 msgstr "Search conditions"
214
215 msgid "Search conditions are specified by ``query`` or ``filter``. You can also specify both ``query`` and ``filter``. It means that selected records must be matched against both ``query`` and ``filter``."
216 msgstr "Search conditions are specified by ``query`` or ``filter``. You can also specify both ``query`` and ``filter``. It means that selected records must be matched against both ``query`` and ``filter``."
217
218 msgid "Search condition: ``query``"
219 msgstr "Search condition: ``query``"
220
221 msgid "``query`` is designed for search box in Web page. Imagine a search box in google.com. You specify search conditions for ``query`` as space separated keywords. For example, ``search engine`` means a matched record should contain two words, ``search`` and ``engine``."
222 msgstr "``query`` is designed for search box in Web page. Imagine a search box in google.com. You specify search conditions for ``query`` as space separated keywords. For example, ``search engine`` means a matched record should contain two words, ``search`` and ``engine``."
223
224 msgid "Normally, ``query`` parameter is used for specifying fulltext search conditions. It can be used for non fulltext search conditions but ``filter`` is used for the propose."
225 msgstr "Normally, ``query`` parameter is used for specifying fulltext search conditions. It can be used for non fulltext search conditions but ``filter`` is used for the propose."
226
227 msgid "``query`` parameter is used with ``match_columns`` parameter when ``query`` parameter is used for specifying fulltext search conditions. ``match_columns`` specifies which columns and indexes are matched against ``query``."
228 msgstr "``query`` parameter is used with ``match_columns`` parameter when ``query`` parameter is used for specifying fulltext search conditions. ``match_columns`` specifies which columns and indexes are matched against ``query``."
229
230 msgid "Here is a simple ``query`` usage example."
231 msgstr "Here is a simple ``query`` usage example."
232
233 msgid "The ``select`` command searches records that contain a word ``fast`` in ``content`` column value from ``Entries`` table."
234 msgstr "The ``select`` command searches records that contain a word ``fast`` in ``content`` column value from ``Entries`` table."
235
236 msgid "``query`` has query syntax but its details aren't described here. See :doc:`/reference/grn_expr/query_syntax` for details."
237 msgstr "``query`` has query syntax but its details aren't described here. See :doc:`/reference/grn_expr/query_syntax` for details."
238
239 msgid "Search condition: ``filter``"
240 msgstr "Search condition: ``filter``"
241
242 msgid "``filter`` is designed for complex search conditions. You specify search conditions for ``filter`` as ECMAScript like syntax."
243 msgstr "``filter`` is designed for complex search conditions. You specify search conditions for ``filter`` as ECMAScript like syntax."
244
245 msgid "Here is a simple ``filter`` usage example."
246 msgstr "Here is a simple ``filter`` usage example."
247
248 msgid "The ``select`` command searches records that contain a word ``fast`` in ``content`` column value and has ``Groonga`` as ``_key`` from ``Entries`` table. There are three operators in the command, ``@``, ``&&`` and ``==``. ``@`` is fulltext search operator. ``&&`` and ``==`` are the same as ECMAScript. ``&&`` is logical AND operator and ``==`` is equality operator."
249 msgstr "The ``select`` command searches records that contain a word ``fast`` in ``content`` column value and has ``Groonga`` as ``_key`` from ``Entries`` table. There are three operators in the command, ``@``, ``&&`` and ``==``. ``@`` is fulltext search operator. ``&&`` and ``==`` are the same as ECMAScript. ``&&`` is logical AND operator and ``==`` is equality operator."
250
251 msgid "``filter`` has more operators and syntax like grouping by ``(...)`` its details aren't described here. See :doc:`/reference/grn_expr/script_syntax` for details."
252 msgstr "``filter`` has more operators and syntax like grouping by ``(...)`` its details aren't described here. See :doc:`/reference/grn_expr/script_syntax` for details."
253
254 msgid "Paging"
255 msgstr "Paging"
256
257 msgid "You can specify range of outputted records by ``offset`` and ``limit``. Here is an example to output only the 2nd record."
258 msgstr "You can specify range of outputted records by ``offset`` and ``limit``. Here is an example to output only the 2nd record."
259
260 msgid "``offset`` is zero-based. ``--offset 1`` means output range is started from the 2nd record."
261 msgstr "``offset`` is zero-based. ``--offset 1`` means output range is started from the 2nd record."
262
263 msgid "``limit`` specifies the max number of output records. ``--limit 1`` means the number of output records is 1 at a maximum. If no records are matched, ``select`` command outputs no records."
264 msgstr "``limit`` specifies the max number of output records. ``--limit 1`` means the number of output records is 1 at a maximum. If no records are matched, ``select`` command outputs no records."
265
266 msgid "The total number of records"
267 msgstr "The total number of records"
268
269 msgid "You can use ``--limit 0`` to retrieve the total number of records without any contents of records."
270 msgstr "You can use ``--limit 0`` to retrieve the total number of records without any contents of records."
271
272 msgid "``--limit 0`` is also useful for retrieving only the number of matched records."
273 msgstr "``--limit 0`` is also useful for retrieving only the number of matched records."
274
275 msgid "Drilldown"
276 msgstr "Drilldown"
277
278 msgid "You can get additional grouped results against the search result in one ``select``. You need to use two or more ``SELECT`` s in SQL but ``select`` in Groonga can do it in one ``select``."
279 msgstr "You can get additional grouped results against the search result in one ``select``. You need to use two or more ``SELECT`` s in SQL but ``select`` in Groonga can do it in one ``select``."
280
281 msgid "This feature is called as `drilldown <http://en.wikipedia.org/wiki/Drill_down>`_ in Groonga. It's also called as `faceted search <http://en.wikipedia.org/wiki/Faceted_search>`_ in other search engine."
282 msgstr "This feature is called as `drilldown <http://en.wikipedia.org/wiki/Drill_down>`_ in Groonga. It's also called as `faceted search <http://en.wikipedia.org/wiki/Faceted_search>`_ in other search engine."
283
284 msgid "For example, think about the following situation."
285 msgstr "For example, think about the following situation."
286
287 msgid "You search entries that has ``fast`` word:"
288 msgstr "You search entries that has ``fast`` word:"
289
290 msgid "You want to use ``tag`` for additional search condition like ``--filter 'content @ \"fast\" && tag == \"???\"``. But you don't know suitable tag until you see the result of ``content @ \"fast\"``."
291 msgstr "You want to use ``tag`` for additional search condition like ``--filter 'content @ \"fast\" && tag == \"???\"``. But you don't know suitable tag until you see the result of ``content @ \"fast\"``."
292
293 msgid "If you know the number of matched records of each available tag, you can choose suitable tag. You can use drilldown for the case:"
294 msgstr "If you know the number of matched records of each available tag, you can choose suitable tag. You can use drilldown for the case:"
295
296 msgid "``--drilldown tag`` returns a list of pair of available tag and the number of matched records. You can avoid \"no hit search\" case by choosing a tag from the list. You can also avoid \"too many search results\" case by choosing a tag that the number of matched records is few from the list."
297 msgstr "``--drilldown tag`` returns a list of pair of available tag and the number of matched records. You can avoid \"no hit search\" case by choosing a tag from the list. You can also avoid \"too many search results\" case by choosing a tag that the number of matched records is few from the list."
298
299 msgid "You can create the following UI with the drilldown results:"
300 msgstr "You can create the following UI with the drilldown results:"
301
302 msgid "Links to narrow search results. (Users don't need to input a search query by their keyboard. They just click a link.)"
303 msgstr "Links to narrow search results. (Users don't need to input a search query by their keyboard. They just click a link.)"
304
305 msgid "Most EC sites use the UI. See side menu at Amazon."
306 msgstr "Most EC sites use the UI. See side menu at Amazon."
307
308 msgid "Groonga supports not only counting grouped records but also finding the maximum and/or minimum value from grouped records, summing values in grouped records and so on. See :ref:`select-drilldown-related-parameters` for details."
309 msgstr "Groonga supports not only counting grouped records but also finding the maximum and/or minimum value from grouped records, summing values in grouped records and so on. See :ref:`select-drilldown-related-parameters` for details."
310
311 msgid "Dynamic column"
312 msgstr "Dynamic column"
313
314 msgid "You can create zero or more columns dynamically while a ``select`` execution. You can use them for drilldown by computed value, window function and so on."
315 msgstr "You can create zero or more columns dynamically while a ``select`` execution. You can use them for drilldown by computed value, window function and so on."
316
317 msgid "Here is an example that uses dynamic column for drilldown by computed value. This example creates a new column named ``n_likes_class``. ``n_likes_class`` column has classified value of ``Entry.n_likes`` value. This example classifies ``Entry.n_likes`` column value ``10`` step and the lowest number in the class is the classified value. If a ``Entry.n_likes`` value is between ``0`` and ``9`` such as ``3`` and ``5``, ``n_likes_class`` value (classified value) is ``0``. If ``Entry.n_likes`` value is between ``10`` and ``19`` such as ``10`` and ``15``, ``n_likes_class`` value (classified value) is ``10``."
318 msgstr "Here is an example that uses dynamic column for drilldown by computed value. This example creates a new column named ``n_likes_class``. ``n_likes_class`` column has classified value of ``Entry.n_likes`` value. This example classifies ``Entry.n_likes`` column value ``10`` step and the lowest number in the class is the classified value. If a ``Entry.n_likes`` value is between ``0`` and ``9`` such as ``3`` and ``5``, ``n_likes_class`` value (classified value) is ``0``. If ``Entry.n_likes`` value is between ``10`` and ``19`` such as ``10`` and ``15``, ``n_likes_class`` value (classified value) is ``10``."
319
320 msgid "You can use :doc:`/reference/functions/number_classify` function for the classification. You need to register ``functions/number`` plugin by :doc:`plugin_register` command to use :doc:`/reference/functions/number_classify` function."
321 msgstr "You can use :doc:`/reference/functions/number_classify` function for the classification. You need to register ``functions/number`` plugin by :doc:`plugin_register` command to use :doc:`/reference/functions/number_classify` function."
322
323 msgid "This example does drilldown by ``n_likes_class`` value. The drilldown result will help you to know data trend."
324 msgstr "This example does drilldown by ``n_likes_class`` value. The drilldown result will help you to know data trend."
325
326 msgid "See :ref:`select-dynamic-column-related-parameters` for details."
327 msgstr "See :ref:`select-dynamic-column-related-parameters` for details."
328
329 msgid "Window function"
330 msgstr "Window function"
331
332 msgid "You can compute each record value from values of grouped records. For example, you can compute sums of each group and puts sums to each record. The difference against drilldown is drilldown can compute sums of each group but it puts sums to each group not record."
333 msgstr "You can compute each record value from values of grouped records. For example, you can compute sums of each group and puts sums to each record. The difference against drilldown is drilldown can compute sums of each group but it puts sums to each group not record."
334
335 msgid "Here is the result with window function. Each record has sum:"
336 msgstr "Here is the result with window function. Each record has sum:"
337
338 msgid "Group No."
339 msgstr "Group No."
340
341 msgid "Target value"
342 msgstr "Target value"
343
344 msgid "Sum result"
345 msgstr "Sum result"
346
347 msgid "1"
348 msgstr "1"
349
350 msgid "5"
351 msgstr "5"
352
353 msgid "2"
354 msgstr "2"
355
356 msgid "10"
357 msgstr "10"
358
359 msgid "25"
360 msgstr "25"
361
362 msgid "15"
363 msgstr "15"
364
365 msgid "3"
366 msgstr "3"
367
368 msgid "8"
369 msgstr "8"
370
371 msgid "Here is the result with drilldown. Each group has sum:"
372 msgstr "Here is the result with drilldown. Each group has sum:"
373
374 msgid "Target values"
375 msgstr "Target values"
376
377 msgid "10, 15"
378 msgstr "10, 15"
379
380 msgid "3, 5"
381 msgstr "3, 5"
382
383 msgid "Window function is useful for data analysis."
384 msgstr "Window function is useful for data analysis."
385
386 msgid "Here is an example that sums ``Entries.n_likes`` per ``Entries.tag``:"
387 msgstr "Here is an example that sums ``Entries.n_likes`` per ``Entries.tag``:"
388
389 msgid "See :ref:`select-window-function-related-parameters` for details."
390 msgstr "See :ref:`select-window-function-related-parameters` for details."
391
392 msgid "Typo tolerance"
393 msgstr "Typo tolerance"
394
395 msgid "You can implement typo tolerance search by specifying how many characters to be accepted as typo. If no records are matched by the given query, Groonga searches with typo fixed query again automatically."
396 msgstr "You can implement typo tolerance search by specifying how many characters to be accepted as typo. If no records are matched by the given query, Groonga searches with typo fixed query again automatically."
397
398 msgid "The number of accepted typo characters is 0 by default. So typo tolerance search isn't enabled by default."
399 msgstr "The number of accepted typo characters is 0 by default. So typo tolerance search isn't enabled by default."
400
401 msgid "You can enable typo tolerance search by specifying :ref:`select-fuzzy-max-distance-ratio` or :ref:`select-fuzzy-max-distance`. In general, ``--fuzzy_max_distance_ratio 0.34`` will be a good parameter."
402 msgstr "You can enable typo tolerance search by specifying :ref:`select-fuzzy-max-distance-ratio` or :ref:`select-fuzzy-max-distance`. In general, ``--fuzzy_max_distance_ratio 0.34`` will be a good parameter."
403
404 msgid ":ref:`select-fuzzy-max-distance-ratio` specifies how many typo characters is accepted based on the number of characters of each input term."
405 msgstr ":ref:`select-fuzzy-max-distance-ratio` specifies how many typo characters is accepted based on the number of characters of each input term."
406
407 msgid "Here is a table that shows how many characters are accepted as typo with ``--fuzzy_max_distance_ratio 0.34``:"
408 msgstr "Here is a table that shows how many characters are accepted as typo with ``--fuzzy_max_distance_ratio 0.34``:"
409
410 msgid "The number of characters of a term"
411 msgstr "The number of characters of a term"
412
413 msgid "The number of accepted typo characters"
414 msgstr "The number of accepted typo characters"
415
416 msgid "0 (``floor(1 * 0.34) = floor(0.34) = 0``)"
417 msgstr "0 (``floor(1 * 0.34) = floor(0.34) = 0``)"
418
419 msgid "0 (``floor(2 * 0.34) = floor(0.68) = 0``)"
420 msgstr "0 (``floor(2 * 0.34) = floor(0.68) = 0``)"
421
422 msgid "1 (``floor(3 * 0.34) = floor(1.02) = 1``)"
423 msgstr "1 (``floor(3 * 0.34) = floor(1.02) = 1``)"
424
425 msgid "4"
426 msgstr "4"
427
428 msgid "1 (``floor(4 * 0.34) = floor(1.36) = 1``)"
429 msgstr "1 (``floor(4 * 0.34) = floor(1.36) = 1``)"
430
431 msgid "1 (``floor(5 * 0.34) = floor(1.7) = 1``)"
432 msgstr "1 (``floor(5 * 0.34) = floor(1.7) = 1``)"
433
434 msgid "6"
435 msgstr "6"
436
437 msgid "2 (``floor(6 * 0.34) = floor(2.04) = 2``)"
438 msgstr "2 (``floor(6 * 0.34) = floor(2.04) = 2``)"
439
440 msgid "In other words, Groonga doesn't accept any typo for a short term (0-2 characters term), accepts 1 typo for a middle term (3-5 characters term) and accepts 2 or more typos for a long term (6- characters term)."
441 msgstr "In other words, Groonga doesn't accept any typo for a short term (0-2 characters term), accepts 1 typo for a middle term (3-5 characters term) and accepts 2 or more typos for a long term (6- characters term)."
442
443 msgid "Here is an example that shows that we can search ``Groonga`` with ``Moronga`` (2 typos):"
444 msgstr "Here is an example that shows that we can search ``Groonga`` with ``Moronga`` (2 typos):"
445
446 msgid "You can specify the fixed number of typo accept characters by :ref:`select-fuzzy-max-distance`. For example, Groonga accepts 2 characters for all terms with ``--fuzzy_max_distance 2``. But ``--fuzzy_max_distance_ratio`` will be better for many use cases."
447 msgstr "You can specify the fixed number of typo accept characters by :ref:`select-fuzzy-max-distance`. For example, Groonga accepts 2 characters for all terms with ``--fuzzy_max_distance 2``. But ``--fuzzy_max_distance_ratio`` will be better for many use cases."
448
449 msgid "You need correct terms for typo tolerance search. Groonga uses terms in a lexicon as correct terms. ``Terms`` is a lexicon for this case. Terms in a lexicon are generated by a tokenizer. If your data is alphabet based language such as English, you can use :doc:`/reference/tokenizers/token_ngram`. Because :doc:`/reference/tokenizers/token_ngram` tokenizes a text to (almost) words for alphabet based languages. If your data isn't alphabet based language such as Japanese, you can't use :doc:`/reference/tokenizers/token_ngram`. Because :doc:`/reference/tokenizers/token_ngram` tokenizes a text to N-characters for non alphabet based languages. You need to use morphological analyzer based tokenizer for non alphabet based languages. For example, you can use :doc:`/reference/tokenizers/token_mecab` for Japanese. (You can use :doc:`/reference/tokenizers/token_mecab` for non Japanese languages with suitable dictionary.)"
450 msgstr "You need correct terms for typo tolerance search. Groonga uses terms in a lexicon as correct terms. ``Terms`` is a lexicon for this case. Terms in a lexicon are generated by a tokenizer. If your data is alphabet based language such as English, you can use :doc:`/reference/tokenizers/token_ngram`. Because :doc:`/reference/tokenizers/token_ngram` tokenizes a text to (almost) words for alphabet based languages. If your data isn't alphabet based language such as Japanese, you can't use :doc:`/reference/tokenizers/token_ngram`. Because :doc:`/reference/tokenizers/token_ngram` tokenizes a text to N-characters for non alphabet based languages. You need to use morphological analyzer based tokenizer for non alphabet based languages. For example, you can use :doc:`/reference/tokenizers/token_mecab` for Japanese. (You can use :doc:`/reference/tokenizers/token_mecab` for non Japanese languages with suitable dictionary.)"
451
452 msgid "Here is an example to use typo tolerance search with Japanese text. ``--default_tokenizer TokenMecab`` for ``JapaneseTerms`` is important. ``JapaneseTerms`` is a lexicon for this case."
453 msgstr "Here is an example to use typo tolerance search with Japanese text. ``--default_tokenizer TokenMecab`` for ``JapaneseTerms`` is important. ``JapaneseTerms`` is a lexicon for this case."
454
455 msgid "See :ref:`select-fuzzy-query-related-parameters` for details."
456 msgstr "See :ref:`select-fuzzy-query-related-parameters` for details."
457
458 msgid "Parameters"
459 msgstr "Parameters"
460
461 msgid "This section describes all parameters. Parameters are categorized."
462 msgstr "This section describes all parameters. Parameters are categorized."
463
464 msgid "Required parameters"
465 msgstr "Required parameters"
466
467 msgid "There is a required parameter, ``table``."
468 msgstr "There is a required parameter, ``table``."
469
470 msgid "``table``"
471 msgstr "``table``"
472
473 msgid "Specifies a table to be searched. ``table`` must be specified."
474 msgstr "Specifies a table to be searched. ``table`` must be specified."
475
476 msgid "If nonexistent table is specified, an error is returned."
477 msgstr "If nonexistent table is specified, an error is returned."
478
479 msgid "Search related parameters"
480 msgstr "Search related parameters"
481
482 msgid "There are search related parameters. Typically, ``match_columns`` and ``query`` parameters are used for implementing a search box. ``filter`` parameters is used for implementing complex search feature."
483 msgstr "There are search related parameters. Typically, ``match_columns`` and ``query`` parameters are used for implementing a search box. ``filter`` parameters is used for implementing complex search feature."
484
485 msgid "If both ``query`` and ``filter`` are specified, selected records must be matched against both ``query`` and ``filter``. If both ``query`` and ``filter`` aren't specified, all records are selected."
486 msgstr "If both ``query`` and ``filter`` are specified, selected records must be matched against both ``query`` and ``filter``. If both ``query`` and ``filter`` aren't specified, all records are selected."
487
488 msgid "``match_columns``"
489 msgstr "``match_columns``"
490
491 msgid "Specifies the default target column for fulltext search by ``query`` parameter value. A target column for fulltext search can be specified in ``query`` parameter. The difference between ``match_columns`` and ``query`` is whether weight and score function are supported or not. ``match_columns`` supports them but ``query`` doesn't."
492 msgstr "Specifies the default target column for fulltext search by ``query`` parameter value. A target column for fulltext search can be specified in ``query`` parameter. The difference between ``match_columns`` and ``query`` is whether weight and score function are supported or not. ``match_columns`` supports them but ``query`` doesn't."
493
494 msgid "Weight is relative importance of target column. A higher weight target column gets more hit score rather than a lower weight target column when a record is matched by fulltext search. The default weight is 1."
495 msgstr "Weight is relative importance of target column. A higher weight target column gets more hit score rather than a lower weight target column when a record is matched by fulltext search. The default weight is 1."
496
497 msgid "Here is a simple ``match_columns`` usage example."
498 msgstr "Here is a simple ``match_columns`` usage example."
499
500 msgid "``--match_columns content`` means the default target column for fulltext search is ``content`` column and its weight is 1. ``--output_columns '_key, _score'`` means that the ``select`` command outputs ``_key`` value and ``_score`` value for matched records."
501 msgstr "``--match_columns content`` means the default target column for fulltext search is ``content`` column and its weight is 1. ``--output_columns '_key, _score'`` means that the ``select`` command outputs ``_key`` value and ``_score`` value for matched records."
502
503 msgid "Pay attention to ``_score`` value. ``_score`` value is the number of matched counts against ``query`` parameter value. In the example, ``query`` parameter value is ``fast``. The fact that ``_score`` value is 1 means that ``fast`` appears in ``content`` column only once. The fact that ``_score`` value is 2 means that ``fast`` appears in ``content`` column twice."
504 msgstr "Pay attention to ``_score`` value. ``_score`` value is the number of matched counts against ``query`` parameter value. In the example, ``query`` parameter value is ``fast``. The fact that ``_score`` value is 1 means that ``fast`` appears in ``content`` column only once. The fact that ``_score`` value is 2 means that ``fast`` appears in ``content`` column twice."
505
506 msgid "To specify weight, ``column * weight`` syntax is used. Here is a weight usage example."
507 msgstr "To specify weight, ``column * weight`` syntax is used. Here is a weight usage example."
508
509 msgid "``--match_columns 'content * 2'`` means the default target column for fulltext search is ``content`` column and its weight is 2."
510 msgstr "``--match_columns 'content * 2'`` means the default target column for fulltext search is ``content`` column and its weight is 2."
511
512 msgid "Pay attention to ``_score`` value. ``_score`` value is doubled because weight is 2."
513 msgstr "Pay attention to ``_score`` value. ``_score`` value is doubled because weight is 2."
514
515 msgid "You can specify one or more columns as the default target columns for fulltext search. If one or more columns are specified, fulltext search is done for all columns and scores are accumulated. If one of the columns is matched against ``query`` parameter value, the record is treated as matched."
516 msgstr "You can specify one or more columns as the default target columns for fulltext search. If one or more columns are specified, fulltext search is done for all columns and scores are accumulated. If one of the columns is matched against ``query`` parameter value, the record is treated as matched."
517
518 msgid "To specify one or more columns, ``column1 * weight1 || column2 * weight2 || ...`` syntax is used. ``* weight`` can be omitted. If it is omitted, 1 is used for weight. Here is a one or more columns usage example."
519 msgstr "To specify one or more columns, ``column1 * weight1 || column2 * weight2 || ...`` syntax is used. ``* weight`` can be omitted. If it is omitted, 1 is used for weight. Here is a one or more columns usage example."
520
521 msgid "``--match_columns '_key * 10 || content'`` means the default target columns for fulltext search are ``_key`` and ``content`` columns and ``_key`` column's weight is 10 and ``content`` column's weight is 1. This weight allocation means ``_key`` column value is more important rather than ``content`` column value. In this example, title of blog entry is more important rather than content of blog entry."
522 msgstr "``--match_columns '_key * 10 || content'`` means the default target columns for fulltext search are ``_key`` and ``content`` columns and ``_key`` column's weight is 10 and ``content`` column's weight is 1. This weight allocation means ``_key`` column value is more important rather than ``content`` column value. In this example, title of blog entry is more important rather than content of blog entry."
523
524 msgid "You can also specify score function. See :doc:`/reference/scorer` for details."
525 msgstr "You can also specify score function. See :doc:`/reference/scorer` for details."
526
527 msgid "Note that score function isn't related to :ref:`select-scorer` parameter."
528 msgstr "Note that score function isn't related to :ref:`select-scorer` parameter."
529
530 msgid "You can also specify index columns to ``--match_columns`` parameter. In such a case, you can control what index column should be used and what data column should be searched explicitly."
531 msgstr "You can also specify index columns to ``--match_columns`` parameter. In such a case, you can control what index column should be used and what data column should be searched explicitly."
532
533 msgid "If data column is specified to ``--match_columns``, Groonga searches related index column automatically, but it is not defined as a spec that which index column is actually selected. Thus, if multiple index columns are created against one data column, there is no way to know which index column will be selected in advance. (In most cases, latest created index column will be selected, but it is undocumented behavior.)"
534 msgstr "If data column is specified to ``--match_columns``, Groonga searches related index column automatically, but it is not defined as a spec that which index column is actually selected. Thus, if multiple index columns are created against one data column, there is no way to know which index column will be selected in advance. (In most cases, latest created index column will be selected, but it is undocumented behavior.)"
535
536 msgid "Here is a use case how to specify index column."
537 msgstr "Here is a use case how to specify index column."
538
539 msgid "index column for one data column"
540 msgstr "index column for one data column"
541
542 msgid "index column for multiple data column"
543 msgstr "index column for multiple data column"
544
545 msgid "If you use index column for one data column, index column which corresponds to data column is paired. Thus, ``TERMS_TABLE.INDEX_COLUMN`` should be specified. On the other hand, if you use index column for multiple data column, all data column is searched by default. If you want to use specific multiple index column to search specific data column, Specify index column with data column name such as ``TERMS_TABLE.INDEX_COLUMN.DATA_COLUMN``. See example use case :ref:`full-text-search-with-specific-index-name` for details."
546 msgstr "If you use index column for one data column, index column which corresponds to data column is paired. Thus, ``TERMS_TABLE.INDEX_COLUMN`` should be specified. On the other hand, if you use index column for multiple data column, all data column is searched by default. If you want to use specific multiple index column to search specific data column, Specify index column with data column name such as ``TERMS_TABLE.INDEX_COLUMN.DATA_COLUMN``. See example use case :ref:`full-text-search-with-specific-index-name` for details."
547
548 msgid "``query``"
549 msgstr "``query``"
550
551 msgid "Specifies the query text. Normally, it is used for fulltext search with ``match_columns`` parameter. ``query`` parameter is designed for a fulltext search form in a Web page. A query text should be formatted in :doc:`/reference/grn_expr/query_syntax`. The syntax is similar to common search form like Google's search form. For example, ``word1 word2`` means that groonga searches records that contain both ``word1`` and ``word2``. ``word1 OR word2`` means that groonga searches records that contain either ``word1`` or ``word2``."
552 msgstr "Specifies the query text. Normally, it is used for fulltext search with ``match_columns`` parameter. ``query`` parameter is designed for a fulltext search form in a Web page. A query text should be formatted in :doc:`/reference/grn_expr/query_syntax`. The syntax is similar to common search form like Google's search form. For example, ``word1 word2`` means that groonga searches records that contain both ``word1`` and ``word2``. ``word1 OR word2`` means that groonga searches records that contain either ``word1`` or ``word2``."
553
554 msgid "Here is a simple logical and search example."
555 msgstr "Here is a simple logical and search example."
556
557 msgid "The ``select`` command searches records that contain two words ``fast`` and ``groonga`` in ``content`` column value from ``Entries`` table."
558 msgstr "The ``select`` command searches records that contain two words ``fast`` and ``groonga`` in ``content`` column value from ``Entries`` table."
559
560 msgid "Here is a simple logical or search example."
561 msgstr "Here is a simple logical or search example."
562
563 msgid "The ``select`` command searches records that contain one of two words ``groonga`` or ``mroonga`` in ``content`` column value from ``Entries`` table."
564 msgstr "The ``select`` command searches records that contain one of two words ``groonga`` or ``mroonga`` in ``content`` column value from ``Entries`` table."
565
566 msgid "See :doc:`/reference/grn_expr/query_syntax` for other syntax."
567 msgstr "See :doc:`/reference/grn_expr/query_syntax` for other syntax."
568
569 msgid "It can be used for not only fulltext search but also other conditions. For example, ``column:value`` means the value of ``column`` column is equal to ``value``. ``column:<value`` means the value of ``column`` column is less than ``value``."
570 msgstr "It can be used for not only fulltext search but also other conditions. For example, ``column:value`` means the value of ``column`` column is equal to ``value``. ``column:<value`` means the value of ``column`` column is less than ``value``."
571
572 msgid "Here is a simple equality operator search example."
573 msgstr "Here is a simple equality operator search example."
574
575 msgid "The ``select`` command searches records that ``_key`` column value is ``Groonga`` from ``Entries`` table."
576 msgstr "The ``select`` command searches records that ``_key`` column value is ``Groonga`` from ``Entries`` table."
577
578 msgid "Here is a simple less than operator search example."
579 msgstr "Here is a simple less than operator search example."
580
581 msgid "The ``select`` command searches records that ``n_likes`` column value is less than ``11`` from ``Entries`` table."
582 msgstr "The ``select`` command searches records that ``n_likes`` column value is less than ``11`` from ``Entries`` table."
583
584 msgid "See :doc:`/reference/grn_expr/query_syntax` for other operations."
585 msgstr "See :doc:`/reference/grn_expr/query_syntax` for other operations."
586
587 msgid "``filter``"
588 msgstr "``filter``"
589
590 msgid "Specifies the filter text. Normally, it is used for complex search conditions. ``filter`` can be used with ``query`` parameter. If both ``filter`` and ``query`` are specified, there are combined with logical and. It means that matched records should be matched against both ``filter`` and ``query``."
591 msgstr "Specifies the filter text. Normally, it is used for complex search conditions. ``filter`` can be used with ``query`` parameter. If both ``filter`` and ``query`` are specified, there are combined with logical and. It means that matched records should be matched against both ``filter`` and ``query``."
592
593 msgid "``filter`` parameter is designed for complex conditions. A filter text should be formatted in :doc:`/reference/grn_expr/script_syntax`. The syntax is similar to ECMAScript. For example, ``column == \"value\"`` means that the value of ``column`` column is equal to ``\"value\"``. ``column < value`` means that the value of ``column`` column is less than ``value``."
594 msgstr "``filter`` parameter is designed for complex conditions. A filter text should be formatted in :doc:`/reference/grn_expr/script_syntax`. The syntax is similar to ECMAScript. For example, ``column == \"value\"`` means that the value of ``column`` column is equal to ``\"value\"``. ``column < value`` means that the value of ``column`` column is less than ``value``."
595
596 msgid "See :doc:`/reference/grn_expr/script_syntax` for other operators."
597 msgstr "See :doc:`/reference/grn_expr/script_syntax` for other operators."
598
599 msgid "``load_table``"
600 msgstr "``load_table``"
601
602 msgid "You can store specified a table a result of ``select`` with ``--load_table``, ``--load-columns`` and ``--load_values`` arguments. ``--load_table`` specifies a table name for storing a result of ``select``."
603 msgstr "You can store specified a table a result of ``select`` with ``--load_table``, ``--load-columns`` and ``--load_values`` arguments. ``--load_table`` specifies a table name for storing a result of ``select``."
604
605 msgid "You must specify a table that already exists."
606 msgstr "You must specify a table that already exists."
607
608 msgid "This argument must use with :ref:`select-load-columns` and :ref:`select-load-values`."
609 msgstr "This argument must use with :ref:`select-load-columns` and :ref:`select-load-values`."
610
611 msgid "Here is an example that can store ``_id`` and ``timestamp`` that a result of ``select`` in a Logs table specified by ``--load_table``."
612 msgstr "Here is an example that can store ``_id`` and ``timestamp`` that a result of ``select`` in a Logs table specified by ``--load_table``."
613
614 msgid "``load_columns``"
615 msgstr "``load_columns``"
616
617 msgid "Specifies columns of a table that specifying ``--load-table``. Stores value of columns that specified with :ref:`select-load-values` in columns that specified with this argument. You must specify columns that already exists."
618 msgstr "Specifies columns of a table that specifying ``--load-table``. Stores value of columns that specified with :ref:`select-load-values` in columns that specified with this argument. You must specify columns that already exists."
619
620 msgid "This argument must use with :ref:`select-load-table` and :ref:`select-load-values`."
621 msgstr "This argument must use with :ref:`select-load-table` and :ref:`select-load-values`."
622
623 msgid "See example of ``--load_table`` for how to use this argument."
624 msgstr "See example of ``--load_table`` for how to use this argument."
625
626 msgid "``load_values``"
627 msgstr "``load_values``"
628
629 msgid "Specifies columns of result of ``select``. Specifies columns for storing values into columns that specified with :ref:`select-load-columns`. You must specify columns that already exists."
630 msgstr "Specifies columns of result of ``select``. Specifies columns for storing values into columns that specified with :ref:`select-load-columns`. You must specify columns that already exists."
631
632 msgid "This argument must use with :ref:`select-load-table` and :ref:`select-load-columns`."
633 msgstr "This argument must use with :ref:`select-load-table` and :ref:`select-load-columns`."
634
635 msgid "Advanced search parameters"
636 msgstr "Advanced search parameters"
637
638 msgid "``match_escalation_threshold``"
639 msgstr "``match_escalation_threshold``"
640
641 msgid "Specifies threshold to determine whether search strategy escalation is used or not. The threshold is compared against the number of matched records. If the number of matched records is equal to or less than the threshold, the search strategy escalation is used. See :doc:`/spec/search` about the search strategy escalation."
642 msgstr "Specifies threshold to determine whether search strategy escalation is used or not. The threshold is compared against the number of matched records. If the number of matched records is equal to or less than the threshold, the search strategy escalation is used. See :doc:`/spec/search` about the search strategy escalation."
643
644 msgid "The default threshold is 0. It means that search strategy escalation is used only when no records are matched."
645 msgstr "The default threshold is 0. It means that search strategy escalation is used only when no records are matched."
646
647 msgid "The default threshold can be customized by one of the followings."
648 msgstr "The default threshold can be customized by one of the followings."
649
650 msgid "``--with-match-escalation-threshold`` option of configure"
651 msgstr "``--with-match-escalation-threshold`` option of configure"
652
653 msgid "``--match-escalation-threshold`` option of groonga command"
654 msgstr "``--match-escalation-threshold`` option of groonga command"
655
656 msgid "``match-escalation-threshold`` configuration item in configuration file"
657 msgstr "``match-escalation-threshold`` configuration item in configuration file"
658
659 msgid "Here is a simple ``match_escalation_threshold`` usage example. The first ``select`` doesn't have ``match_escalation_threshold`` parameter. The second ``select`` has ``match_escalation_threshold`` parameter."
660 msgstr "Here is a simple ``match_escalation_threshold`` usage example. The first ``select`` doesn't have ``match_escalation_threshold`` parameter. The second ``select`` has ``match_escalation_threshold`` parameter."
661
662 msgid "The first ``select`` command searches records that contain a word ``groo`` in ``content`` column value from ``Entries`` table. But no records are matched because the ``TokenBigram`` tokenizer tokenizes ``groonga`` to ``groonga`` not ``gr|ro|oo|on|ng|ga``. (The ``TokenBigramSplitSymbolAlpha`` tokenizer tokenizes ``groonga`` to ``gr|ro|oo|on|ng|ga``. See :doc:`/reference/tokenizers` for details.) It means that ``groonga`` is indexed but ``groo`` isn't indexed. So no records are matched against ``groo`` by exact match. In the case, the search strategy escalation is used because the number of matched records (0) is equal to ``match_escalation_threshold`` (0). One record is matched against ``groo`` by unsplit search."
663 msgstr "The first ``select`` command searches records that contain a word ``groo`` in ``content`` column value from ``Entries`` table. But no records are matched because the ``TokenBigram`` tokenizer tokenizes ``groonga`` to ``groonga`` not ``gr|ro|oo|on|ng|ga``. (The ``TokenBigramSplitSymbolAlpha`` tokenizer tokenizes ``groonga`` to ``gr|ro|oo|on|ng|ga``. See :doc:`/reference/tokenizers` for details.) It means that ``groonga`` is indexed but ``groo`` isn't indexed. So no records are matched against ``groo`` by exact match. In the case, the search strategy escalation is used because the number of matched records (0) is equal to ``match_escalation_threshold`` (0). One record is matched against ``groo`` by unsplit search."
664
665 msgid "The second ``select`` command also searches records that contain a word ``groo`` in ``content`` column value from ``Entries`` table. And it also doesn't find matched records. In this case, the search strategy escalation is not used because the number of matched records (0) is larger than ``match_escalation_threshold`` (-1). So no more searches aren't executed. And no records are matched."
666 msgstr "The second ``select`` command also searches records that contain a word ``groo`` in ``content`` column value from ``Entries`` table. And it also doesn't find matched records. In this case, the search strategy escalation is not used because the number of matched records (0) is larger than ``match_escalation_threshold`` (-1). So no more searches aren't executed. And no records are matched."
667
668 msgid "``match_escalation``"
669 msgstr "``match_escalation``"
670
671 msgid "Specifies how to use match escalation. See also :ref:`select-match-escalation` and :doc:`/spec/search` about the match escalation."
672 msgstr "Specifies how to use match escalation. See also :ref:`select-match-escalation` and :doc:`/spec/search` about the match escalation."
673
674 msgid "Here are available values:"
675 msgstr "Here are available values:"
676
677 msgid "Value"
678 msgstr "Value"
679
680 msgid "Description"
681 msgstr "Description"
682
683 msgid "``auto``"
684 msgstr "``auto``"
685
686 msgid "Groonga uses :ref:`select-match-escalation-threshold` to determine whether match escalation is used or not."
687 msgstr "Groonga uses :ref:`select-match-escalation-threshold` to determine whether match escalation is used or not."
688
689 msgid "This is the default."
690 msgstr "This is the default."
691
692 msgid "``yes``"
693 msgstr "``yes``"
694
695 msgid "Groonga always uses match escalation."
696 msgstr "Groonga always uses match escalation."
697
698 msgid "``no``"
699 msgstr "``no``"
700
701 msgid "Groonga never use match escalation."
702 msgstr "Groonga never use match escalation."
703
704 msgid "``--match_escalation yes`` is stronger than ``--match_escalation_threshold 9999...999``. ``--filter 'true && column @ \"query\"`` with ``--match_escalation yes`` uses match escalation. ``--filter 'true && column @ \"query\"`` with ``--match_escalation_threshold 9999...999`` doesn't use match escalation."
705 msgstr "``--match_escalation yes`` is stronger than ``--match_escalation_threshold 9999...999``. ``--filter 'true && column @ \"query\"`` with ``--match_escalation yes`` uses match escalation. ``--filter 'true && column @ \"query\"`` with ``--match_escalation_threshold 9999...999`` doesn't use match escalation."
706
707 msgid "Here is a simple ``match_escalation`` usage example. The first ``select`` doesn't have ``match_escalation`` parameter. The second ``select`` has ``match_escalation`` parameter."
708 msgstr "Here is a simple ``match_escalation`` usage example. The first ``select`` doesn't have ``match_escalation`` parameter. The second ``select`` has ``match_escalation`` parameter."
709
710 msgid "The first ``select`` command searches records that contain a word ``groo`` in ``content`` column value from ``Entries`` table. But no records are matched because the ``TokenBigram`` tokenizer tokenizes ``groonga`` to ``groonga`` not ``gr|ro|oo|on|ng|ga``."
711 msgstr "The first ``select`` command searches records that contain a word ``groo`` in ``content`` column value from ``Entries`` table. But no records are matched because the ``TokenBigram`` tokenizer tokenizes ``groonga`` to ``groonga`` not ``gr|ro|oo|on|ng|ga``."
712
713 msgid "The second ``select`` command also searches records that contain a word ``groo`` in ``content`` column value from ``Entries`` table. And it uses match escalation. So it can find matched records."
714 msgstr "The second ``select`` command also searches records that contain a word ``groo`` in ``content`` column value from ``Entries`` table. And it uses match escalation. So it can find matched records."
715
716 msgid "``query_expansion``"
717 msgstr "``query_expansion``"
718
719 msgid "Use :ref:`select-query-expander` instead."
720 msgstr "Use :ref:`select-query-expander` instead."
721
722 msgid "``query_flags``"
723 msgstr "``query_flags``"
724
725 msgid "It customs ``query`` parameter syntax. You cannot update column value by ``query`` parameter by default. But if you specify ``ALLOW_COLUMN|ALLOW_UPDATE`` as ``query_flags``, you can update column value by ``query``."
726 msgstr "It customs ``query`` parameter syntax. You cannot update column value by ``query`` parameter by default. But if you specify ``ALLOW_COLUMN|ALLOW_UPDATE`` as ``query_flags``, you can update column value by ``query``."
727
728 msgid "``ALLOW_PRAGMA``"
729 msgstr "``ALLOW_PRAGMA``"
730
731 msgid "``ALLOW_COLUMN``"
732 msgstr "``ALLOW_COLUMN``"
733
734 msgid "``ALLOW_UPDATE``"
735 msgstr "``ALLOW_UPDATE``"
736
737 msgid "``ALLOW_LEADING_NOT``"
738 msgstr "``ALLOW_LEADING_NOT``"
739
740 msgid "``QUERY_NO_SYNTAX_ERROR``"
741 msgstr "``QUERY_NO_SYNTAX_ERROR``"
742
743 msgid "``NONE``"
744 msgstr "``NONE``"
745
746 msgid "``ALLOW_PRAGMA`` enables pragma at the head of ``query``. This is not implemented yet."
747 msgstr "``ALLOW_PRAGMA`` enables pragma at the head of ``query``. This is not implemented yet."
748
749 msgid "``ALLOW_COLUMN`` enables search against columns that are not included in ``match_columns``. To specify column, there are ``COLUMN:...`` syntaxes."
750 msgstr "``ALLOW_COLUMN`` enables search against columns that are not included in ``match_columns``. To specify column, there are ``COLUMN:...`` syntaxes."
751
752 msgid "``ALLOW_UPDATE`` enables column update by ``query`` with ``COLUMN:=NEW_VALUE`` syntax. ``ALLOW_COLUMN`` is also required to update column because the column update syntax specifies column."
753 msgstr "``ALLOW_UPDATE`` enables column update by ``query`` with ``COLUMN:=NEW_VALUE`` syntax. ``ALLOW_COLUMN`` is also required to update column because the column update syntax specifies column."
754
755 msgid "``ALLOW_LEADING_NOT`` enables leading NOT condition with ``-WORD`` syntax. The query searches records that doesn't match ``WORD``. Leading NOT condition query is heavy query in many cases because it matches many records. So this flag is disabled by default. Be careful about it when you use the flag."
756 msgstr "``ALLOW_LEADING_NOT`` enables leading NOT condition with ``-WORD`` syntax. The query searches records that doesn't match ``WORD``. Leading NOT condition query is heavy query in many cases because it matches many records. So this flag is disabled by default. Be careful about it when you use the flag."
757
758 msgid "``QUERY_NO_SYNTAX_ERROR`` enables never causes syntax error for query. This flag is useful when an application uses user input directly and doesn't want to show syntax error to the user and in a log. This flag is disabled by default."
759 msgstr "``QUERY_NO_SYNTAX_ERROR`` enables never causes syntax error for query. This flag is useful when an application uses user input directly and doesn't want to show syntax error to the user and in a log. This flag is disabled by default."
760
761 msgid "``NONE`` is just ignores. You can use ``NONE`` for specifying no flags."
762 msgstr "``NONE`` is just ignores. You can use ``NONE`` for specifying no flags."
763
764 msgid "They can be combined by separated ``|`` such as ``ALLOW_COLUMN|ALLOW_UPDATE``."
765 msgstr "They can be combined by separated ``|`` such as ``ALLOW_COLUMN|ALLOW_UPDATE``."
766
767 msgid "The default value is ``ALLOW_PRAGMA|ALLOW_COLUMN``."
768 msgstr "The default value is ``ALLOW_PRAGMA|ALLOW_COLUMN``."
769
770 msgid "Here is a usage example of ``ALLOW_COLUMN``."
771 msgstr "Here is a usage example of ``ALLOW_COLUMN``."
772
773 msgid "The ``select`` command searches records that contain ``mroonga`` in ``content`` column value from ``Entries`` table."
774 msgstr "The ``select`` command searches records that contain ``mroonga`` in ``content`` column value from ``Entries`` table."
775
776 msgid "Here is a usage example of ``ALLOW_UPDATE``."
777 msgstr "Here is a usage example of ``ALLOW_UPDATE``."
778
779 msgid "The first ``select`` command sets ``age`` column value of all records to ``19``. The second ``select`` command outputs updated ``age`` column values."
780 msgstr "The first ``select`` command sets ``age`` column value of all records to ``19``. The second ``select`` command outputs updated ``age`` column values."
781
782 msgid "Here is a usage example of ``ALLOW_LEADING_NOT``."
783 msgstr "Here is a usage example of ``ALLOW_LEADING_NOT``."
784
785 msgid "The ``select`` command searches records that don't contain ``mroonga`` in ``content`` column value from ``Entries`` table."
786 msgstr "The ``select`` command searches records that don't contain ``mroonga`` in ``content`` column value from ``Entries`` table."
787
788 msgid "Here are a schema definition and sample data to describe other flags:"
789 msgstr "Here are a schema definition and sample data to describe other flags:"
790
791 msgid "Here is an example of ``QUERY_NO_SYNTAX_ERROR``:"
792 msgstr "Here is an example of ``QUERY_NO_SYNTAX_ERROR``:"
793
794 msgid "If you don't specify this flag, the query causes a syntax error as below."
795 msgstr "If you don't specify this flag, the query causes a syntax error as below."
796
797 msgid "Here is a usage example of ``NONE``."
798 msgstr "Here is a usage example of ``NONE``."
799
800 msgid "The ``select`` command searches records that contain one of two words ``mroonga`` or ``_key:Groonga`` in ``content`` from ``Entries`` table. Note that ``_key:Groonga`` doesn't mean that the value of ``_key`` column is equal to ``Groonga``. Because ``ALLOW_COLUMN`` flag is not specified."
801 msgstr "The ``select`` command searches records that contain one of two words ``mroonga`` or ``_key:Groonga`` in ``content`` from ``Entries`` table. Note that ``_key:Groonga`` doesn't mean that the value of ``_key`` column is equal to ``Groonga``. Because ``ALLOW_COLUMN`` flag is not specified."
802
803 msgid "See also :doc:`/reference/grn_expr/query_syntax`."
804 msgstr "See also :doc:`/reference/grn_expr/query_syntax`."
805
806 msgid "``query_expander``"
807 msgstr "``query_expander``"
808
809 msgid "It's for query expansion. Query expansion substitutes specific words to another words in query. Normally, it's used for synonym search."
810 msgstr "It's for query expansion. Query expansion substitutes specific words to another words in query. Normally, it's used for synonym search."
811
812 msgid "It specifies a column that is used to substitute ``query`` parameter value. The format of this parameter value is \"``${TABLE}.${COLUMN}``\". For example, \"``Terms.synonym``\" specifies ``synonym`` column in ``Terms`` table."
813 msgstr "It specifies a column that is used to substitute ``query`` parameter value. The format of this parameter value is \"``${TABLE}.${COLUMN}``\". For example, \"``Terms.synonym``\" specifies ``synonym`` column in ``Terms`` table."
814
815 msgid "Table for query expansion is called \"substitution table\". Substitution table's key must be ``ShortText``. So array table (``TABLE_NO_KEY``) can't be used for query expansion. Because array table doesn't have key."
816 msgstr "Table for query expansion is called \"substitution table\". Substitution table's key must be ``ShortText``. So array table (``TABLE_NO_KEY``) can't be used for query expansion. Because array table doesn't have key."
817
818 msgid "Column for query expansion is called \"substitution column\". Substitution column's value type must be ``ShortText``. Column type must be vector (``COLUMN_VECTOR``)."
819 msgstr "Column for query expansion is called \"substitution column\". Substitution column's value type must be ``ShortText``. Column type must be vector (``COLUMN_VECTOR``)."
820
821 msgid "Query expansion substitutes key of substitution table in query with values in substitution column. If a word in ``query`` is a key of substitution table, the word is substituted with substitution column value that is associated with the key. Substitution isn't performed recursively. It means that substitution target words in substituted query aren't substituted."
822 msgstr "Query expansion substitutes key of substitution table in query with values in substitution column. If a word in ``query`` is a key of substitution table, the word is substituted with substitution column value that is associated with the key. Substitution isn't performed recursively. It means that substitution target words in substituted query aren't substituted."
823
824 msgid "Here is a sample substitution table to show a simple ``query_expander`` usage example."
825 msgstr "Here is a sample substitution table to show a simple ``query_expander`` usage example."
826
827 msgid "``Thesaurus`` substitution table has two synonyms, ``\"mroonga\"`` and ``\"groonga\"``. If an user searches with ``\"mroonga\"``, Groonga searches with ``\"((mroonga) OR (tritonn) OR (groonga mysql))\"``. If an user searches with ``\"groonga\"``, Groonga searches with ``\"((groonga) OR (senna))\"``."
828 msgstr "``Thesaurus`` substitution table has two synonyms, ``\"mroonga\"`` and ``\"groonga\"``. If an user searches with ``\"mroonga\"``, Groonga searches with ``\"((mroonga) OR (tritonn) OR (groonga mysql))\"``. If an user searches with ``\"groonga\"``, Groonga searches with ``\"((groonga) OR (senna))\"``."
829
830 msgid "Normally, it's good idea that substitution table uses a normalizer. For example, if normalizer is used, substitute target word is matched in case insensitive manner. See :doc:`/reference/normalizers` for available normalizers."
831 msgstr "Normally, it's good idea that substitution table uses a normalizer. For example, if normalizer is used, substitute target word is matched in case insensitive manner. See :doc:`/reference/normalizers` for available normalizers."
832
833 msgid "Note that those synonym values include the key value such as ``\"mroonga\"`` and ``\"groonga\"``. It's recommended that you include the key value. If you don't include key value, substituted value doesn't include the original substitute target value. Normally, including the original value is better search result. If you have a word that you don't want to be searched, you should not include the original word. For example, you can implement \"stop words\" by an empty vector value."
834 msgstr "Note that those synonym values include the key value such as ``\"mroonga\"`` and ``\"groonga\"``. It's recommended that you include the key value. If you don't include key value, substituted value doesn't include the original substitute target value. Normally, including the original value is better search result. If you have a word that you don't want to be searched, you should not include the original word. For example, you can implement \"stop words\" by an empty vector value."
835
836 msgid "Here is a simple ``query_expander`` usage example."
837 msgstr "Here is a simple ``query_expander`` usage example."
838
839 msgid "The first ``select`` command doesn't use query expansion. So a record that has ``\"tritonn\"`` isn't found. The second ``select`` command uses query expansion. So a record that has ``\"tritonn\"`` is found. The third ``select`` command doesn't use query expansion but it is same as the second ``select`` command. The third one uses expanded query."
840 msgstr "The first ``select`` command doesn't use query expansion. So a record that has ``\"tritonn\"`` isn't found. The second ``select`` command uses query expansion. So a record that has ``\"tritonn\"`` is found. The third ``select`` command doesn't use query expansion but it is same as the second ``select`` command. The third one uses expanded query."
841
842 msgid "Each substitute value can contain any :doc:`/reference/grn_expr/query_syntax` syntax such as ``(...)`` and ``OR``. You can use complex substitution by using those syntax."
843 msgstr "Each substitute value can contain any :doc:`/reference/grn_expr/query_syntax` syntax such as ``(...)`` and ``OR``. You can use complex substitution by using those syntax."
844
845 msgid "Here is a complex substitution usage example that uses query syntax."
846 msgstr "Here is a complex substitution usage example that uses query syntax."
847
848 msgid "The ``load`` command registers a new synonym ``\"popular\"``. It is substituted with ``((popular) OR (n_likes:>=10))``. The substituted query means that \"popular\" is containing the word \"popular\" or 10 or more liked entries."
849 msgstr "The ``load`` command registers a new synonym ``\"popular\"``. It is substituted with ``((popular) OR (n_likes:>=10))``. The substituted query means that \"popular\" is containing the word \"popular\" or 10 or more liked entries."
850
851 msgid "The ``select`` command outputs records that ``n_likes`` column value is equal to or more than ``10`` from ``Entries`` table."
852 msgstr "The ``select`` command outputs records that ``n_likes`` column value is equal to or more than ``10`` from ``Entries`` table."
853
854 msgid "``n_workers``"
855 msgstr "``n_workers``"
856
857 msgid "This is an experimental feature. Currently, this feature is still not stable."
858 msgstr "This is an experimental feature. Currently, this feature is still not stable."
859
860 msgid "This feature requires :doc:`/reference/command/command_version` 3 or later."
861 msgstr "This feature requires :doc:`/reference/command/command_version` 3 or later."
862
863 msgid "This feature requires that Apache Arrow is enabled in Groonga."
864 msgstr "This feature requires that Apache Arrow is enabled in Groonga."
865
866 msgid "It depends on package provider whether Apache Arrow is enabled or not."
867 msgstr "It depends on package provider whether Apache Arrow is enabled or not."
868
869 msgid "To check whether Apache Arrow is enabled, you can use :doc:`/reference/commands/status` command that show the result of ``apache_arrow`` is ``true`` or not."
870 msgstr "To check whether Apache Arrow is enabled, you can use :doc:`/reference/commands/status` command that show the result of ``apache_arrow`` is ``true`` or not."
871
872 msgid "If Apache Arrow is disabled, you should build Groonga from the source code with enabling Apache Arrow following the steps in :doc:`/install` or request to enable Apache Arrow to the package provider."
873 msgstr "If Apache Arrow is disabled, you should build Groonga from the source code with enabling Apache Arrow following the steps in :doc:`/install` or request to enable Apache Arrow to the package provider."
874
875 msgid ":ref:`select-drilldown` , :ref:`drilldowns <select-advanced-drilldown-related-parameters>` and :ref:`slices <select-slice-related-parameters>` are executed in parallel when this parameter is specified ``-1`` or ``2`` or more."
876 msgstr ":ref:`select-drilldown` , :ref:`drilldowns <select-advanced-drilldown-related-parameters>` and :ref:`slices <select-slice-related-parameters>` are executed in parallel when this parameter is specified ``-1`` or ``2`` or more."
877
878 msgid "In a default setting, ``drilldown``, ``drilldowns`` and ``slices`` are executed in serial. In other words, a next process is executed after a current process is finished. So, queries tend to take a long time if there are a lot of ``drilldown``, ``drilldowns`` and ``slices``."
879 msgstr "In a default setting, ``drilldown``, ``drilldowns`` and ``slices`` are executed in serial. In other words, a next process is executed after a current process is finished. So, queries tend to take a long time if there are a lot of ``drilldown``, ``drilldowns`` and ``slices``."
880
881 msgid "``n_workers`` enables to execute independent ``drilldown``, ``drilldowns`` and ``slices`` in parallel. The execution time of the total sum of processes can be shourtend by executing them in parallel. This parallel execution is done for each ``select`` command."
882 msgstr "``n_workers`` enables to execute independent ``drilldown``, ``drilldowns`` and ``slices`` in parallel. The execution time of the total sum of processes can be shourtend by executing them in parallel. This parallel execution is done for each ``select`` command."
883
884 msgid "\"independent\" means not using ``drilldowns.table`` to reference the results of other drilldowns or slices."
885 msgstr "\"independent\" means not using ``drilldowns.table`` to reference the results of other drilldowns or slices."
886
887 msgid "If there are dependencies as same meaning as using ``drilldowns.table``, it wait for finish the dependent drilldowns or slices. Therefore, the degree of parallelism is reduced if they have dependencies."
888 msgstr "If there are dependencies as same meaning as using ``drilldowns.table``, it wait for finish the dependent drilldowns or slices. Therefore, the degree of parallelism is reduced if they have dependencies."
889
890 msgid "Executing in parallel means using multiple CPUs at the same time. If executing in parallel without free CPU resource, it may actually slow down the execution time. This is because they have to wait for the other process being executed by the target CPU to finish."
891 msgstr "Executing in parallel means using multiple CPUs at the same time. If executing in parallel without free CPU resource, it may actually slow down the execution time. This is because they have to wait for the other process being executed by the target CPU to finish."
892
893 msgid "It depends on a system configuration whether or not there are free CPU resources and how many ``n_workers`` should be specified."
894 msgstr "It depends on a system configuration whether or not there are free CPU resources and how many ``n_workers`` should be specified."
895
896 msgid "For example, consider using :doc:`/reference/executables/groonga-server-http` on a system with 6 CPUs."
897 msgstr "For example, consider using :doc:`/reference/executables/groonga-server-http` on a system with 6 CPUs."
898
899 msgid ":doc:`/reference/executables/groonga-server-http` allocates 1 thread (= 1CPU) for each request."
900 msgstr ":doc:`/reference/executables/groonga-server-http` allocates 1 thread (= 1CPU) for each request."
901
902 msgid "When the average number of concurrent connections is 6, there are no free CPU resources because 6 CPUs are already in use. All the CPU is used to process each request."
903 msgstr "When the average number of concurrent connections is 6, there are no free CPU resources because 6 CPUs are already in use. All the CPU is used to process each request."
904
905 msgid "When the average number of concurrent connections is 2, there are 4 free CPU resources because only 2 CPUs are already in use. When specifying ``2`` for ``n_workers``, the ``select`` command will use at most 3 CPUs, including the thread for processing requests. Therefore, if two ``select`` commands with ``2`` specified for ``n_workers`` are requested at the same time, they will use at most 6 CPUs in total and will be processed fastly by using all of the resources. When specifying greater than ``2``, the degree of parallelism can be higher than the CPU resources, so it may actually slow down the execution time."
906 msgstr "When the average number of concurrent connections is 2, there are 4 free CPU resources because only 2 CPUs are already in use. When specifying ``2`` for ``n_workers``, the ``select`` command will use at most 3 CPUs, including the thread for processing requests. Therefore, if two ``select`` commands with ``2`` specified for ``n_workers`` are requested at the same time, they will use at most 6 CPUs in total and will be processed fastly by using all of the resources. When specifying greater than ``2``, the degree of parallelism can be higher than the CPU resources, so it may actually slow down the execution time."
907
908 msgid "``n_workers`` behaves as follows depending on the specified value."
909 msgstr "``n_workers`` behaves as follows depending on the specified value."
910
911 msgid "When specifying ``0`` or ``1``"
912 msgstr "When specifying ``0`` or ``1``"
913
914 msgid "Executes the `select` command in serial"
915 msgstr "Executes the `select` command in serial"
916
917 msgid "When specifying ``2`` or more"
918 msgstr "When specifying ``2`` or more"
919
920 msgid "Executes the `select` command in parallel with at most the specified number of threads."
921 msgstr "Executes the `select` command in parallel with at most the specified number of threads."
922
923 msgid "When specifying ``-1`` or less"
924 msgstr "When specifying ``-1`` or less"
925
926 msgid "Executes the `select` command in parallel with the threads of at most the number of CPU cores."
927 msgstr "Executes the `select` command in parallel with the threads of at most the number of CPU cores."
928
929 msgid "The default value of this parameter is ``0`` . It means that the `select` command is executed in serial in default."
930 msgstr "The default value of this parameter is ``0`` . It means that the `select` command is executed in serial in default."
931
932 msgid "The default value can be changed by specifying the environment variable ``GRN_SELECT_N_WORKERS_DEFAULT``."
933 msgstr "The default value can be changed by specifying the environment variable ``GRN_SELECT_N_WORKERS_DEFAULT``."
934
935 msgid "Output related parameters"
936 msgstr "Output related parameters"
937
938 msgid "``output_columns``"
939 msgstr "``output_columns``"
940
941 msgid "Specifies output columns separated by ``,``."
942 msgstr "Specifies output columns separated by ``,``."
943
944 msgid "Here is a simple ``output_columns`` usage example."
945 msgstr "Here is a simple ``output_columns`` usage example."
946
947 msgid "The ``select`` command just outputs ``_id`` and ``_key`` column values."
948 msgstr "The ``select`` command just outputs ``_id`` and ``_key`` column values."
949
950 msgid "``*`` is a special value. It means that all columns that are not :doc:`/reference/columns/pseudo`."
951 msgstr "``*`` is a special value. It means that all columns that are not :doc:`/reference/columns/pseudo`."
952
953 msgid "Here is a ``*`` usage example."
954 msgstr "Here is a ``*`` usage example."
955
956 msgid "The ``select`` command outputs ``_key`` pseudo column, ``content`` column and ``n_likes`` column values but doesn't output ``_id`` pseudo column value."
957 msgstr "The ``select`` command outputs ``_key`` pseudo column, ``content`` column and ``n_likes`` column values but doesn't output ``_id`` pseudo column value."
958
959 msgid "The default value is ``_id, _key, *``. It means that all column values except ``_score`` are outputted."
960 msgstr "The default value is ``_id, _key, *``. It means that all column values except ``_score`` are outputted."
961
962 msgid "``sortby``"
963 msgstr "``sortby``"
964
965 msgid "Use :ref:`select-sort-keys` instead."
966 msgstr "Use :ref:`select-sort-keys` instead."
967
968 msgid "``sort_keys``"
969 msgstr "``sort_keys``"
970
971 msgid "Specifies sort keys separated by ``,``. Each sort key is column name."
972 msgstr "Specifies sort keys separated by ``,``. Each sort key is column name."
973
974 msgid "Here is a simple ``sort_keys`` usage example."
975 msgstr "Here is a simple ``sort_keys`` usage example."
976
977 msgid "The ``select`` command sorts by ``n_likes`` column value in ascending order. For records that has the same ``n_likes`` are sorted by ``_id`` in ascending order. ``\"Good-bye Senna\"`` and ``\"Good-bye Tritonn\"`` are the case."
978 msgstr "The ``select`` command sorts by ``n_likes`` column value in ascending order. For records that has the same ``n_likes`` are sorted by ``_id`` in ascending order. ``\"Good-bye Senna\"`` and ``\"Good-bye Tritonn\"`` are the case."
979
980 msgid "If you want to sort in descending order, add ``-`` before column name."
981 msgstr "If you want to sort in descending order, add ``-`` before column name."
982
983 msgid "Here is a descending order ``sort_keys`` usage example."
984 msgstr "Here is a descending order ``sort_keys`` usage example."
985
986 msgid "The ``select`` command sorts by ``n_likes`` column value in descending order. But ascending order is used for sorting by ``_id``."
987 msgstr "The ``select`` command sorts by ``n_likes`` column value in descending order. But ascending order is used for sorting by ``_id``."
988
989 msgid "You can use ``_score`` pseudo column in ``sort_keys`` if you use ``query`` or ``filter`` parameter."
990 msgstr "You can use ``_score`` pseudo column in ``sort_keys`` if you use ``query`` or ``filter`` parameter."
991
992 msgid "The ``select`` command sorts matched records by hit score in descending order and outputs record key and hit score."
993 msgstr "The ``select`` command sorts matched records by hit score in descending order and outputs record key and hit score."
994
995 msgid "If you use ``_score`` without ``query`` nor ``filter`` parameters, it's just ignored but get a warning in log file."
996 msgstr "If you use ``_score`` without ``query`` nor ``filter`` parameters, it's just ignored but get a warning in log file."
997
998 msgid "``offset``"
999 msgstr "``offset``"
1000
1001 msgid "Specifies offset to determine output records range. Offset is zero-based. ``--offset 1`` means output range is started from the 2nd record."
1002 msgstr "Specifies offset to determine output records range. Offset is zero-based. ``--offset 1`` means output range is started from the 2nd record."
1003
1004 msgid "The ``select`` command outputs from the 4th record."
1005 msgstr "The ``select`` command outputs from the 4th record."
1006
1007 msgid "You can specify negative value. It means that ``the number of matched records + offset``. If you have 3 matched records and specify ``--offset -2``, you get records from the 2nd (``3 + -2 = 1``. ``1`` means 2nd. Remember that offset is zero-based.) record to the 3rd record."
1008 msgstr "You can specify negative value. It means that ``the number of matched records + offset``. If you have 3 matched records and specify ``--offset -2``, you get records from the 2nd (``3 + -2 = 1``. ``1`` means 2nd. Remember that offset is zero-based.) record to the 3rd record."
1009
1010 msgid "The ``select`` command outputs from the 4th record because the total number of records is ``5``."
1011 msgstr "The ``select`` command outputs from the 4th record because the total number of records is ``5``."
1012
1013 msgid "The default value is ``0``."
1014 msgstr "The default value is ``0``."
1015
1016 msgid "``limit``"
1017 msgstr "``limit``"
1018
1019 msgid "Specifies the max number of output records. If the number of matched records is less than ``limit``, all records are outputted."
1020 msgstr "Specifies the max number of output records. If the number of matched records is less than ``limit``, all records are outputted."
1021
1022 msgid "Here is a simple ``limit`` usage example."
1023 msgstr "Here is a simple ``limit`` usage example."
1024
1025 msgid "The ``select`` command outputs the 3rd, the 4th and the 5th records."
1026 msgstr "The ``select`` command outputs the 3rd, the 4th and the 5th records."
1027
1028 msgid "You can specify negative value. It means that ``the number of matched records + limit + 1``. For example, ``--limit -1`` outputs all records. It's very useful value to show all records."
1029 msgstr "You can specify negative value. It means that ``the number of matched records + limit + 1``. For example, ``--limit -1`` outputs all records. It's very useful value to show all records."
1030
1031 msgid "Here is a simple negative ``limit`` value usage example."
1032 msgstr "Here is a simple negative ``limit`` value usage example."
1033
1034 msgid "The ``select`` command outputs all records."
1035 msgstr "The ``select`` command outputs all records."
1036
1037 msgid "The default value is ``10``."
1038 msgstr "The default value is ``10``."
1039
1040 msgid "``scorer``"
1041 msgstr "``scorer``"
1042
1043 msgid "TODO: write in English and add example."
1044 msgstr "TODO: write in English and add example."
1045
1046 msgid "検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。"
1047 msgstr "検索条件にマッチする全てのレコードに対して適用するgrn_exprをscript形式で指定します。"
1048
1049 msgid "scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。"
1050 msgstr "scorerは、検索処理が完了し、ソート処理が実行される前に呼び出されます。従って、各レコードのスコアを操作する式を指定しておけば、検索結果のソート順序をカスタマイズできるようになります。"
1051
1052 msgid "Fuzzy query related parameters"
1053 msgstr "Fuzzy query related parameters"
1054
1055 msgid "This section describes fuzzy query related parameters. See also :ref:`select-usage-typo-tolerance` as a use case of fuzzy query."
1056 msgstr "This section describes fuzzy query related parameters. See also :ref:`select-usage-typo-tolerance` as a use case of fuzzy query."
1057
1058 msgid "You need to specify at least :ref:`select-fuzzy-max-distance-ratio` or :ref:`select-fuzzy-max-distance` to use fuzzy query."
1059 msgstr "You need to specify at least :ref:`select-fuzzy-max-distance-ratio` or :ref:`select-fuzzy-max-distance` to use fuzzy query."
1060
1061 msgid "Fuzzy query is executed automatically when no record is matched with the original query. It means that fuzzy query is implemented as one of match escalation methods. See also :ref:`select-match-escalation-threshold` for match escalation."
1062 msgstr "Fuzzy query is executed automatically when no record is matched with the original query. It means that fuzzy query is implemented as one of match escalation methods. See also :ref:`select-match-escalation-threshold` for match escalation."
1063
1064 msgid "``fuzzy_max_distance_ratio``"
1065 msgstr "``fuzzy_max_distance_ratio``"
1066
1067 msgid "You need to specify :ref:`select-fuzzy-max-distance-ratio` or :ref:`select-fuzzy-max-distance` to enable fuzzy query. If you specify both of them, :ref:`select-fuzzy-max-distance-ratio` is used."
1068 msgstr "You need to specify :ref:`select-fuzzy-max-distance-ratio` or :ref:`select-fuzzy-max-distance` to enable fuzzy query. If you specify both of them, :ref:`select-fuzzy-max-distance-ratio` is used."
1069
1070 msgid "You can specify how long edit distance is accepted based on the target query. For most use cases, this parameter is more suitable than :ref:`select-fuzzy-max-distance`."
1071 msgstr "You can specify how long edit distance is accepted based on the target query. For most use cases, this parameter is more suitable than :ref:`select-fuzzy-max-distance`."
1072
1073 msgid "In general, long edit distance for short query isn't suitable. Because it will increase noisy results. For example, ``hye`` with edit distance ``3`` accepts the following terms:"
1074 msgstr "In general, long edit distance for short query isn't suitable. Because it will increase noisy results. For example, ``hye`` with edit distance ``3`` accepts the following terms:"
1075
1076 msgid "``hey`` (preferable result)"
1077 msgstr "``hey`` (preferable result)"
1078
1079 msgid "``eye`` (preferable result)"
1080 msgstr "``eye`` (preferable result)"
1081
1082 msgid "``bye`` (preferable result)"
1083 msgstr "``bye`` (preferable result)"
1084
1085 msgid "``hyper`` (preferable result?)"
1086 msgstr "``hyper`` (preferable result?)"
1087
1088 msgid "``hyphen`` (preferable result?)"
1089 msgstr "``hyphen`` (preferable result?)"
1090
1091 msgid ":ref:`select-fuzzy-max-distance` specifies a fixed size edit distance for all queries (both of short queries and long queries)."
1092 msgstr ":ref:`select-fuzzy-max-distance` specifies a fixed size edit distance for all queries (both of short queries and long queries)."
1093
1094 msgid "You can specify an edit distance for each query based on the number of characters of the target query by this parameter. For example, edit distance ``1`` is used for ``hye`` with ``--fuzzy_max_distance_ratio 0.34``. Edit distance ``2`` is used for ``hypehn`` with ``--fuzzy_max_distance_ratio 0.34``. It's calculated by ``floor(${THE_NUMBER_OF_CHARACTERS} * ${FUZZY_MAX_DISTANCE_RATIO})``:"
1095 msgstr "You can specify an edit distance for each query based on the number of characters of the target query by this parameter. For example, edit distance ``1`` is used for ``hye`` with ``--fuzzy_max_distance_ratio 0.34``. Edit distance ``2`` is used for ``hypehn`` with ``--fuzzy_max_distance_ratio 0.34``. It's calculated by ``floor(${THE_NUMBER_OF_CHARACTERS} * ${FUZZY_MAX_DISTANCE_RATIO})``:"
1096
1097 msgid "``hye``: ``floor(3 * 0.34) = floor(1.02) = 1``"
1098 msgstr "``hye``: ``floor(3 * 0.34) = floor(1.02) = 1``"
1099
1100 msgid "``hypehn``: ``floor(6 * 0.34) = floor(2.04) = 2``"
1101 msgstr "``hypehn``: ``floor(6 * 0.34) = floor(2.04) = 2``"
1102
1103 msgid "In general, ``--fuzzy_max_distance_ratio 0.34`` is a good value. If the value doesn't fix your use case, you can change the value."
1104 msgstr "In general, ``--fuzzy_max_distance_ratio 0.34`` is a good value. If the value doesn't fix your use case, you can change the value."
1105
1106 msgid "Here is an example that accepts 1 typo character for ``vary`` and 2 typo characters for ``Gnoonag``. This example specifies ``yes`` as :ref:`select-match-escalation` to enable fuzzy query for all queries (``vary`` and ``Gnoonag``). In general, you should not specify ``--match_escalation yes`` because it may increase noisy results."
1107 msgstr "Here is an example that accepts 1 typo character for ``vary`` and 2 typo characters for ``Gnoonag``. This example specifies ``yes`` as :ref:`select-match-escalation` to enable fuzzy query for all queries (``vary`` and ``Gnoonag``). In general, you should not specify ``--match_escalation yes`` because it may increase noisy results."
1108
1109 msgid "``fuzzy_max_distance``"
1110 msgstr "``fuzzy_max_distance``"
1111
1112 msgid "You can specify a fixed edit distance to be accepted by this parameter. For most use cases, :ref:`select-fuzzy-max-distance` is more suitable than this parameter."
1113 msgstr "You can specify a fixed edit distance to be accepted by this parameter. For most use cases, :ref:`select-fuzzy-max-distance` is more suitable than this parameter."
1114
1115 msgid "Here is an example that accepts 1 typo character for ``vary``:"
1116 msgstr "Here is an example that accepts 1 typo character for ``vary``:"
1117
1118 msgid "``fuzzy_max_expansions``"
1119 msgstr "``fuzzy_max_expansions``"
1120
1121 msgid "You can specify the max number of terms as fixed terms. If ``hye`` is the given query, this parameter is ``2`` and ``hey``, ``eye`` and ``hyper`` are candidates of fixed terms, ``hey`` and ``eye`` (2 terms) are only used as fixed terms."
1122 msgstr "You can specify the max number of terms as fixed terms. If ``hye`` is the given query, this parameter is ``2`` and ``hey``, ``eye`` and ``hyper`` are candidates of fixed terms, ``hey`` and ``eye`` (2 terms) are only used as fixed terms."
1123
1124 msgid "Here is an example that uses 1 fixed terms for ``alx``. ``all`` is only used. ``also`` isn't used."
1125 msgstr "Here is an example that uses 1 fixed terms for ``alx``. ``all`` is only used. ``also`` isn't used."
1126
1127 msgid "``fuzzy_prefix_length``"
1128 msgstr "``fuzzy_prefix_length``"
1129
1130 msgid "You can specify the number of prefix characters. If this value is ``1`` and the given term is ``hye``, the prefix is ``h``. Fixed terms must be started with ``h``. For example, ``hey`` can be used as a fixed term but ``eye`` and ``bye`` can't be used as a fixed terms."
1131 msgstr "You can specify the number of prefix characters. If this value is ``1`` and the given term is ``hye``, the prefix is ``h``. Fixed terms must be started with ``h``. For example, ``hey`` can be used as a fixed term but ``eye`` and ``bye`` can't be used as a fixed terms."
1132
1133 msgid "This option will improve performance when a lexicon has many terms."
1134 msgstr "This option will improve performance when a lexicon has many terms."
1135
1136 msgid "Here is an example that requires ``gr`` prefix for fixed terms with ``groonag`` query. ``Groonga`` (case insensitive for this case because you use :doc:`/reference/normalizers/normalizer_auto` for this case) can be used for a fixed term but ``Mroonga`` can't be used for a fixed term. Because ``Mroonga`` isn't started with ``gr``."
1137 msgstr "Here is an example that requires ``gr`` prefix for fixed terms with ``groonag`` query. ``Groonga`` (case insensitive for this case because you use :doc:`/reference/normalizers/normalizer_auto` for this case) can be used for a fixed term but ``Mroonga`` can't be used for a fixed term. Because ``Mroonga`` isn't started with ``gr``."
1138
1139 msgid "``fuzzy_with_transposition``"
1140 msgstr "``fuzzy_with_transposition``"
1141
1142 msgid "The default value is ``yes``."
1143 msgstr "The default value is ``yes``."
1144
1145 msgid "You can choose edit distance ``1`` or ``2`` for the transposition case. An example of the transposition case is ``hello`` and ``ehllo``. ``h`` and ``e`` is transposed. If this parameter is ``yes``, the edit distance of this case is ``1``. It's ``2`` (because insertion and deletion are needed) otherwise."
1146 msgstr "You can choose edit distance ``1`` or ``2`` for the transposition case. An example of the transposition case is ``hello`` and ``ehllo``. ``h`` and ``e`` is transposed. If this parameter is ``yes``, the edit distance of this case is ``1``. It's ``2`` (because insertion and deletion are needed) otherwise."
1147
1148 msgid "Here is an example that uses edit distance ``2`` for transposition. In this example, you can't use ``Mroonga`` as a fixed term for ``groonag`` because it has edit distance ``3``:"
1149 msgstr "Here is an example that uses edit distance ``2`` for transposition. In this example, you can't use ``Mroonga`` as a fixed term for ``groonag`` because it has edit distance ``3``:"
1150
1151 msgid "Substitute ``g`` with ``M``: ``groonag`` -> ``Mroonag``"
1152 msgstr "Substitute ``g`` with ``M``: ``groonag`` -> ``Mroonag``"
1153
1154 msgid "Add ``a``: ``Mroonag`` -> ``Mroonaga``"
1155 msgstr "Add ``a``: ``Mroonag`` -> ``Mroonaga``"
1156
1157 msgid "Remove ``a``: ``Mroonaga`` -> ``Mroonga``"
1158 msgstr "Remove ``a``: ``Mroonaga`` -> ``Mroonga``"
1159
1160 msgid "``fuzzy_with_tokenize``"
1161 msgstr "``fuzzy_with_tokenize``"
1162
1163 msgid "The default value is ``no``."
1164 msgstr "The default value is ``no``."
1165
1166 msgid "You can choose whether tokenize the given term or not before fuzzy query. If tokenizer is :doc:`/reference/tokenizers/token_ngram` and the given term is ``he11o``, it's tokenized to ``he``, ``11`` and ``o``. If this value is ``yes``, fixed terms are searched for each of them. For example, ``hi`` is found as a fixed term of ``he``, ``12`` is found as a fixed term of ``11`` and ``x`` is found as a fixed term of ``o``. And ``hi12x`` is searched. If this value is ``no``, fixed terms are searched for ``he11o``. For example, ``hello`` is found as a fixed term of ``he11o`` and ``hello`` is searched."
1167 msgstr "You can choose whether tokenize the given term or not before fuzzy query. If tokenizer is :doc:`/reference/tokenizers/token_ngram` and the given term is ``he11o``, it's tokenized to ``he``, ``11`` and ``o``. If this value is ``yes``, fixed terms are searched for each of them. For example, ``hi`` is found as a fixed term of ``he``, ``12`` is found as a fixed term of ``11`` and ``x`` is found as a fixed term of ``o``. And ``hi12x`` is searched. If this value is ``no``, fixed terms are searched for ``he11o``. For example, ``hello`` is found as a fixed term of ``he11o`` and ``hello`` is searched."
1168
1169 msgid "Note that each term is separated by ore or more space characters before fuzzy query is executed. For example, ``hello world`` are separated to ``hello`` and ``world`` by query parser. (See also :doc:`/reference/grn_expr/query_syntax`.) ``hello`` and ``world`` are processed separately."
1170 msgstr "Note that each term is separated by ore or more space characters before fuzzy query is executed. For example, ``hello world`` are separated to ``hello`` and ``world`` by query parser. (See also :doc:`/reference/grn_expr/query_syntax`.) ``hello`` and ``world`` are processed separately."
1171
1172 msgid "For morphological analyzer based tokenizer such as :doc:`/reference/tokenizers/token_mecab`, ``no`` is suitable. Because typo-ed term isn't tokenized as you expected for most cases. For example, ``ともて`` (a typo of ``とても``) may be tokenized to ``とも `` (adjective) and ``て`` (conjunctive particle) not ``ともて`` (adverb)."
1173 msgstr "For morphological analyzer based tokenizer such as :doc:`/reference/tokenizers/token_mecab`, ``no`` is suitable. Because typo-ed term isn't tokenized as you expected for most cases. For example, ``ともて`` (a typo of ``とても``) may be tokenized to ``とも `` (adjective) and ``て`` (conjunctive particle) not ``ともて`` (adverb)."
1174
1175 msgid "Here is an example that tokenizes the given term before fuzzy query. In this example, you can't use ``Groonga`` as a fixed term for ``gr00nga`` because ``gr``, ``00`` and ``nga`` are processed separately."
1176 msgstr "Here is an example that tokenizes the given term before fuzzy query. In this example, you can't use ``Groonga`` as a fixed term for ``gr00nga`` because ``gr``, ``00`` and ``nga`` are processed separately."
1177
1178 msgid "Dynamic column related parameters"
1179 msgstr "Dynamic column related parameters"
1180
1181 msgid "This section describes dynamic column related parameters. You can use dynamic column for window function but this section doesn't describe window function. See :ref:`select-window-function-related-parameters` for window function."
1182 msgstr "This section describes dynamic column related parameters. You can use dynamic column for window function but this section doesn't describe window function. See :ref:`select-window-function-related-parameters` for window function."
1183
1184 msgid "You can create zero or more columns and fill values into these columns while a ``select`` execution. These columns are called as \"dynamic columns\". You can use dynamic columns as same as normal columns after dynamic columns are created."
1185 msgstr "You can create zero or more columns and fill values into these columns while a ``select`` execution. These columns are called as \"dynamic columns\". You can use dynamic columns as same as normal columns after dynamic columns are created."
1186
1187 msgid "Dynamic column has performance merit because its values are computed at once and reused computed values."
1188 msgstr "Dynamic column has performance merit because its values are computed at once and reused computed values."
1189
1190 msgid "Dynamic column increases memory usage because its values are kept while the ``select`` execution."
1191 msgstr "Dynamic column increases memory usage because its values are kept while the ``select`` execution."
1192
1193 msgid "You need to use dynamic column in the following cases:"
1194 msgstr "You need to use dynamic column in the following cases:"
1195
1196 msgid "You want to name values like ``AS`` in SQL."
1197 msgstr "You want to name values like ``AS`` in SQL."
1198
1199 msgid "You want to use computed values for drilldown. Groonga doesn't support drilldown target value computation in drilldown."
1200 msgstr "You want to use computed values for drilldown. Groonga doesn't support drilldown target value computation in drilldown."
1201
1202 msgid "You want to use window function."
1203 msgstr "You want to use window function."
1204
1205 msgid "There are some points to create dynamic columns. You must specify ``stage`` to each dynamic column to control dynamic columns creation points. It's important that you choose proper point to get better performance."
1206 msgstr "There are some points to create dynamic columns. You must specify ``stage`` to each dynamic column to control dynamic columns creation points. It's important that you choose proper point to get better performance."
1207
1208 msgid "For example, it's not a good idea that you create a dynamic column that is only used for output for all records. The number of output records will be a little even if there are many records in a table. Because you will filter, sort and limit all records and output only the limited records in many cases."
1209 msgstr "For example, it's not a good idea that you create a dynamic column that is only used for output for all records. The number of output records will be a little even if there are many records in a table. Because you will filter, sort and limit all records and output only the limited records in many cases."
1210
1211 msgid "See :ref:`select-columns-name-stage` for ``stage`` detail."
1212 msgstr "See :ref:`select-columns-name-stage` for ``stage`` detail."
1213
1214 msgid "Here are parameters for dynamic column. They don't include window function related parameters. See :ref:`select-window-function-related-parameters` for window function related parameters:"
1215 msgstr "Here are parameters for dynamic column. They don't include window function related parameters. See :ref:`select-window-function-related-parameters` for window function related parameters:"
1216
1217 msgid "Name"
1218 msgstr "Name"
1219
1220 msgid "Default value"
1221 msgstr "Default value"
1222
1223 msgid "Required or optional"
1224 msgstr "Required or optional"
1225
1226 msgid "``columns[${NAME}].stage``"
1227 msgstr "``columns[${NAME}].stage``"
1228
1229 msgid "``null``"
1230 msgstr "``null``"
1231
1232 msgid "Required"
1233 msgstr "Required"
1234
1235 msgid "``columns[${NAME}].flags``"
1236 msgstr "``columns[${NAME}].flags``"
1237
1238 msgid "``COLUMN_SCALAR``"
1239 msgstr "``COLUMN_SCALAR``"
1240
1241 msgid "Optional"
1242 msgstr "Optional"
1243
1244 msgid "``columns[${NAME}].type``"
1245 msgstr "``columns[${NAME}].type``"
1246
1247 msgid "``columns[${NAME}].value``"
1248 msgstr "``columns[${NAME}].value``"
1249
1250 msgid "You need to specify multiple parameters for a dynamic column. ``${NAME}`` is the name for each dynamic column. Parameters that use the same ``${NAME}`` are treated as parameters for the same dynamic column. Here is an example to specify parameters for 2 dynamic columns (``name1`` and ``name2``)::"
1251 msgstr "You need to specify multiple parameters for a dynamic column. ``${NAME}`` is the name for each dynamic column. Parameters that use the same ``${NAME}`` are treated as parameters for the same dynamic column. Here is an example to specify parameters for 2 dynamic columns (``name1`` and ``name2``)::"
1252
1253 msgid "Specifies when the dynamic column is created. This is a required parameter to create a dynamic column."
1254 msgstr "Specifies when the dynamic column is created. This is a required parameter to create a dynamic column."
1255
1256 msgid "Here are available stages:"
1257 msgstr "Here are available stages:"
1258
1259 msgid "``initial``"
1260 msgstr "``initial``"
1261
1262 msgid "Dynamic column is created at first."
1263 msgstr "Dynamic column is created at first."
1264
1265 msgid "``filtered``"
1266 msgstr "``filtered``"
1267
1268 msgid "Dynamic column is created after :ref:`select-query` and :ref:`select-filter` are evaluated."
1269 msgstr "Dynamic column is created after :ref:`select-query` and :ref:`select-filter` are evaluated."
1270
1271 msgid "``output``"
1272 msgstr "``output``"
1273
1274 msgid "Dynamic column is created before :ref:`select-output-columns` is evaluated."
1275 msgstr "Dynamic column is created before :ref:`select-output-columns` is evaluated."
1276
1277 msgid "Here is the ``select`` process flow with dynamic column creation points. You should choose stage as late as possible:"
1278 msgstr "Here is the ``select`` process flow with dynamic column creation points. You should choose stage as late as possible:"
1279
1280 msgid "Creates dynamic columns for ``initial`` stage. All records have these dynamic columns."
1281 msgstr "Creates dynamic columns for ``initial`` stage. All records have these dynamic columns."
1282
1283 msgid "Evaluates :ref:`select-query` and :ref:`select-filter`. You can use dynamic columns created in ``initial`` stage."
1284 msgstr "Evaluates :ref:`select-query` and :ref:`select-filter`. You can use dynamic columns created in ``initial`` stage."
1285
1286 msgid "Creates dynamic columns for ``filtered`` stage. Only filtered records have these dynamic columns."
1287 msgstr "Creates dynamic columns for ``filtered`` stage. Only filtered records have these dynamic columns."
1288
1289 msgid "Evaluates :ref:`select-adjuster`. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage."
1290 msgstr "Evaluates :ref:`select-adjuster`. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage."
1291
1292 msgid "Evaluates :ref:`select-scorer`. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage."
1293 msgstr "Evaluates :ref:`select-scorer`. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage."
1294
1295 msgid "Evaluates :ref:`select-sort-keys`, :ref:`select-offset` and :ref:`select-limit`. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage."
1296 msgstr "Evaluates :ref:`select-sort-keys`, :ref:`select-offset` and :ref:`select-limit`. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage."
1297
1298 msgid "Evaluates :ref:`select-slice-related-parameters`. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage."
1299 msgstr "Evaluates :ref:`select-slice-related-parameters`. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage."
1300
1301 msgid "Evaluates :ref:`select-drilldown-related-parameters` and :ref:`select-advanced-drilldown-related-parameters`. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage. Note that you can create dynamic columns in each drilldown."
1302 msgstr "Evaluates :ref:`select-drilldown-related-parameters` and :ref:`select-advanced-drilldown-related-parameters`. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage. Note that you can create dynamic columns in each drilldown."
1303
1304 msgid "Creates dynamic columns for ``output`` stage. Only :ref:`select-limit` records have these dynamic columns."
1305 msgstr "Creates dynamic columns for ``output`` stage. Only :ref:`select-limit` records have these dynamic columns."
1306
1307 msgid "Evaluates :ref:`select-output-columns`. You can use dynamic columns created in ``initial`` stage, ``filtered`` stage and ``output`` stage."
1308 msgstr "Evaluates :ref:`select-output-columns`. You can use dynamic columns created in ``initial`` stage, ``filtered`` stage and ``output`` stage."
1309
1310 msgid "Here is an example that creates ``is_popular`` column at ``initial`` stage. You can use ``is_popular`` in all parameters such as ``filter`` and ``output_columns``:"
1311 msgstr "Here is an example that creates ``is_popular`` column at ``initial`` stage. You can use ``is_popular`` in all parameters such as ``filter`` and ``output_columns``:"
1312
1313 msgid "Specifies flags for the dynamic column. It's the same as ``flags`` parameter for :doc:`column_create`. See :ref:`column-create-flags` for available flags."
1314 msgstr "Specifies flags for the dynamic column. It's the same as ``flags`` parameter for :doc:`column_create`. See :ref:`column-create-flags` for available flags."
1315
1316 msgid "The default value is ``COLUMN_SCALAR``."
1317 msgstr "The default value is ``COLUMN_SCALAR``."
1318
1319 msgid "Here is a ``columns[${NAME}].flags`` example. It creates a vector column by ``COLUMN_VECTOR`` flags. ``plugin_register functions/vector`` is for using :doc:`/reference/functions/vector_new` function:"
1320 msgstr "Here is a ``columns[${NAME}].flags`` example. It creates a vector column by ``COLUMN_VECTOR`` flags. ``plugin_register functions/vector`` is for using :doc:`/reference/functions/vector_new` function:"
1321
1322 msgid "Specifies value type for the dynamic column. It's the same as ``type`` parameter for :doc:`column_create`. See :ref:`column-create-type` for available types."
1323 msgstr "Specifies value type for the dynamic column. It's the same as ``type`` parameter for :doc:`column_create`. See :ref:`column-create-type` for available types."
1324
1325 msgid "This is a required parameter."
1326 msgstr "This is a required parameter."
1327
1328 msgid "Here is an example that creates a ``ShortText`` type column. Stored value is casted to ``ShortText`` automatically. In this example, number is casted to ``ShortText``:"
1329 msgstr "Here is an example that creates a ``ShortText`` type column. Stored value is casted to ``ShortText`` automatically. In this example, number is casted to ``ShortText``:"
1330
1331 msgid "Specifies expression that generates values for the dynamic column. The expression uses :doc:`/reference/grn_expr/script_syntax`. It's the same syntax in :ref:`select-filter`. For example, ``1 + 1``, ``string_length(\"Hello\")``, ``column * 1.08`` and so on are valid expressions."
1332 msgstr "Specifies expression that generates values for the dynamic column. The expression uses :doc:`/reference/grn_expr/script_syntax`. It's the same syntax in :ref:`select-filter`. For example, ``1 + 1``, ``string_length(\"Hello\")``, ``column * 1.08`` and so on are valid expressions."
1333
1334 msgid "You need to specify :doc:`/reference/window_function` as ``value`` value and other window function related parameters when you use window function. See :ref:`select-window-function-related-parameters` for details."
1335 msgstr "You need to specify :doc:`/reference/window_function` as ``value`` value and other window function related parameters when you use window function. See :ref:`select-window-function-related-parameters` for details."
1336
1337 msgid "Here is an example that creates a new dynamic column that stores the number of characters of content. This example uses :doc:`/reference/functions/string_length` function in ``functions/string`` plugin to compute the number of characters in a string. :doc:`plugin_register` is used to register ``functions/string`` plugin:"
1338 msgstr "Here is an example that creates a new dynamic column that stores the number of characters of content. This example uses :doc:`/reference/functions/string_length` function in ``functions/string`` plugin to compute the number of characters in a string. :doc:`plugin_register` is used to register ``functions/string`` plugin:"
1339
1340 msgid "Window function related parameters"
1341 msgstr "Window function related parameters"
1342
1343 msgid "This section describes window function related parameters. You need to use dynamic column for using window function. See :ref:`select-dynamic-column-related-parameters` for dynamic column."
1344 msgstr "This section describes window function related parameters. You need to use dynamic column for using window function. See :ref:`select-dynamic-column-related-parameters` for dynamic column."
1345
1346 msgid "Window function in Groonga is similar to window function in SQL. Normal function computes its result with only the current record. On the other hand, window function computes its result with multiple records. Window function is useful to data analysis because it can process multiple records."
1347 msgstr "Window function in Groonga is similar to window function in SQL. Normal function computes its result with only the current record. On the other hand, window function computes its result with multiple records. Window function is useful to data analysis because it can process multiple records."
1348
1349 msgid "You can find supported window functions at :doc:`/reference/window_function`. For example, :doc:`/reference/window_functions/window_sum` is a window function. It sums numbers in the target records."
1350 msgstr "You can find supported window functions at :doc:`/reference/window_function`. For example, :doc:`/reference/window_functions/window_sum` is a window function. It sums numbers in the target records."
1351
1352 msgid "Window function processes records that are grouped by the specified group keys. For example, window function processes three groups (``Hello`` group, ``Groonga`` group and ``Senna`` group) in the following case. :doc:`/reference/window_functions/window_sum` sums ``n_likes`` values in each group:"
1353 msgstr "Window function processes records that are grouped by the specified group keys. For example, window function processes three groups (``Hello`` group, ``Groonga`` group and ``Senna`` group) in the following case. :doc:`/reference/window_functions/window_sum` sums ``n_likes`` values in each group:"
1354
1355 msgid "Group key value"
1356 msgstr "Group key value"
1357
1358 msgid "``n_likes`` value"
1359 msgstr "``n_likes`` value"
1360
1361 msgid ":doc:`/reference/window_functions/window_sum` result"
1362 msgstr ":doc:`/reference/window_functions/window_sum` result"
1363
1364 msgid "``Hello``"
1365 msgstr "``Hello``"
1366
1367 msgid "``Groonga``"
1368 msgstr "``Groonga``"
1369
1370 msgid "``Senna``"
1371 msgstr "``Senna``"
1372
1373 msgid "You can specify no group keys. In the case, window function processes only one group that includes all records. :doc:`/reference/window_functions/window_sum` sums all ``n_likes`` values in the following case:"
1374 msgstr "You can specify no group keys. In the case, window function processes only one group that includes all records. :doc:`/reference/window_functions/window_sum` sums all ``n_likes`` values in the following case:"
1375
1376 msgid "36"
1377 msgstr "36"
1378
1379 msgid "Window function processes records in each group in the specified order. You can specify no sort keys like the above group keys example."
1380 msgstr "Window function processes records in each group in the specified order. You can specify no sort keys like the above group keys example."
1381
1382 msgid "The behavior when you specify no sort keys depends on each window function specification. For example, :doc:`/reference/window_functions/window_sum` uses different behavior whether sort keys are specified or not. If you specify not sort keys, :doc:`/reference/window_functions/window_sum` sums values of all records in the group and puts it to all target records like the above group keys example. If you specify sort keys, :doc:`/reference/window_functions/window_sum` behaves as cumulative sum. :doc:`/reference/window_functions/window_sum` sums values of all records in the group in sequence and puts the current sum to the current record like the following:"
1383 msgstr "The behavior when you specify no sort keys depends on each window function specification. For example, :doc:`/reference/window_functions/window_sum` uses different behavior whether sort keys are specified or not. If you specify not sort keys, :doc:`/reference/window_functions/window_sum` sums values of all records in the group and puts it to all target records like the above group keys example. If you specify sort keys, :doc:`/reference/window_functions/window_sum` behaves as cumulative sum. :doc:`/reference/window_functions/window_sum` sums values of all records in the group in sequence and puts the current sum to the current record like the following:"
1384
1385 msgid "Sort key value"
1386 msgstr "Sort key value"
1387
1388 msgid "Note"
1389 msgstr "Note"
1390
1391 msgid "The first record in group No. 1. (``5 = 5``)"
1392 msgstr "The first record in group No. 1. (``5 = 5``)"
1393
1394 msgid "90"
1395 msgstr "90"
1396
1397 msgid "The first record in group No. 2. (``10 = 10``)"
1398 msgstr "The first record in group No. 2. (``10 = 10``)"
1399
1400 msgid "91"
1401 msgstr "91"
1402
1403 msgid "The second record in group No. 2. (``10 + 15 = 25``)"
1404 msgstr "The second record in group No. 2. (``10 + 15 = 25``)"
1405
1406 msgid "200"
1407 msgstr "200"
1408
1409 msgid "The second record in group No. 3. (``5 + 3 = 8``)"
1410 msgstr "The second record in group No. 3. (``5 + 3 = 8``)"
1411
1412 msgid "100"
1413 msgstr "100"
1414
1415 msgid "The first record in group No. 3. (``5 = 5``)"
1416 msgstr "The first record in group No. 3. (``5 = 5``)"
1417
1418 msgid "Here are parameters for window function. You need to specify both window function related parameters and required dynamic columns parameters. Because window function is implemented based on dynamic column. See :ref:`select-dynamic-column-related-parameters` for dynamic column related parameters:"
1419 msgstr "Here are parameters for window function. You need to specify both window function related parameters and required dynamic columns parameters. Because window function is implemented based on dynamic column. See :ref:`select-dynamic-column-related-parameters` for dynamic column related parameters:"
1420
1421 msgid "Use :doc:`/reference/window_function`."
1422 msgstr "Use :doc:`/reference/window_function`."
1423
1424 msgid "``columns[${NAME}].window.sort_keys``"
1425 msgstr "``columns[${NAME}].window.sort_keys``"
1426
1427 msgid "Required if ``columns[${NAME}].window.group_keys`` isn't specified."
1428 msgstr "Required if ``columns[${NAME}].window.group_keys`` isn't specified."
1429
1430 msgid "``columns[${NAME}].window.group_keys``"
1431 msgstr "``columns[${NAME}].window.group_keys``"
1432
1433 msgid "Required if ``columns[${NAME}].window.sort_keys`` isn't specified."
1434 msgstr "Required if ``columns[${NAME}].window.sort_keys`` isn't specified."
1435
1436 msgid "Specifies sort keys in each group. Window function processes records in each group in the specified order."
1437 msgstr "Specifies sort keys in each group. Window function processes records in each group in the specified order."
1438
1439 msgid "Sort keys are separated by ``,``. Each sort key is column name. It's the same as :ref:`select-sort-keys`."
1440 msgstr "Sort keys are separated by ``,``. Each sort key is column name. It's the same as :ref:`select-sort-keys`."
1441
1442 msgid "You must specify :ref:`select-columns-name-window-sort-keys` or :ref:`select-columns-name-window-group-keys` to use window function."
1443 msgstr "You must specify :ref:`select-columns-name-window-sort-keys` or :ref:`select-columns-name-window-group-keys` to use window function."
1444
1445 msgid "Here is an example that computes cumulative sum per ``Entries.tag``. Each group is sorted by ``Entries._key``:"
1446 msgstr "Here is an example that computes cumulative sum per ``Entries.tag``. Each group is sorted by ``Entries._key``:"
1447
1448 msgid "Specifies group keys. Window function processes records in each group. If you specify no group keys, window function processes one group that includes all records."
1449 msgstr "Specifies group keys. Window function processes records in each group. If you specify no group keys, window function processes one group that includes all records."
1450
1451 msgid "Group keys are separated by ``,``. Each group key is column name. It's the same as :ref:`select-drilldown`."
1452 msgstr "Group keys are separated by ``,``. Each group key is column name. It's the same as :ref:`select-drilldown`."
1453
1454 msgid "Here is an example that computes sum per ``Entries.tag``:"
1455 msgstr "Here is an example that computes sum per ``Entries.tag``:"
1456
1457 msgid "Drilldown related parameters"
1458 msgstr "Drilldown related parameters"
1459
1460 msgid "This section describes basic drilldown related parameters. Advanced drilldown related parameters are described in another section."
1461 msgstr "This section describes basic drilldown related parameters. Advanced drilldown related parameters are described in another section."
1462
1463 msgid "``drilldown``"
1464 msgstr "``drilldown``"
1465
1466 msgid "Specifies keys for grouping separated by ``,``."
1467 msgstr "Specifies keys for grouping separated by ``,``."
1468
1469 msgid "Matched records by specified search conditions are grouped by each key. If you specify no search condition, all records are grouped by each key."
1470 msgstr "Matched records by specified search conditions are grouped by each key. If you specify no search condition, all records are grouped by each key."
1471
1472 msgid "Here is a simple ``drilldown`` example:"
1473 msgstr "Here is a simple ``drilldown`` example:"
1474
1475 msgid "The ``select`` command outputs the following information:"
1476 msgstr "The ``select`` command outputs the following information:"
1477
1478 msgid "There is one record that has \"Hello\" tag."
1479 msgstr "There is one record that has \"Hello\" tag."
1480
1481 msgid "There is two records that has \"Groonga\" tag."
1482 msgstr "There is two records that has \"Groonga\" tag."
1483
1484 msgid "There is two records that has \"Senna\" tag."
1485 msgstr "There is two records that has \"Senna\" tag."
1486
1487 msgid "Here is a ``drilldown`` with search condition example:"
1488 msgstr "Here is a ``drilldown`` with search condition example:"
1489
1490 msgid "In records that have 5 or larger as ``n_likes`` value:"
1491 msgstr "In records that have 5 or larger as ``n_likes`` value:"
1492
1493 msgid "Here is a ``drilldown`` with multiple group keys example:"
1494 msgstr "Here is a ``drilldown`` with multiple group keys example:"
1495
1496 msgid "About ``tag``:"
1497 msgstr "About ``tag``:"
1498
1499 msgid "About ``n_likes``:"
1500 msgstr "About ``n_likes``:"
1501
1502 msgid "``drilldown_sortby``"
1503 msgstr "``drilldown_sortby``"
1504
1505 msgid "Use :ref:`select-drilldown-sort-keys` instead."
1506 msgstr "Use :ref:`select-drilldown-sort-keys` instead."
1507
1508 msgid "``drilldown_sort_keys``"
1509 msgstr "``drilldown_sort_keys``"
1510
1511 msgid "Specifies sort keys for drilldown outputs separated by ``,``. Each sort key is column name."
1512 msgstr "Specifies sort keys for drilldown outputs separated by ``,``. Each sort key is column name."
1513
1514 msgid "You can refer the number of grouped records by ``_nsubrecs`` :doc:`/reference/columns/pseudo`."
1515 msgstr "You can refer the number of grouped records by ``_nsubrecs`` :doc:`/reference/columns/pseudo`."
1516
1517 msgid "Here is a simple ``drilldown_sort_keys`` example:"
1518 msgstr "Here is a simple ``drilldown_sort_keys`` example:"
1519
1520 msgid "Drilldown result is sorted by the number of grouped records (= ``_nsubrecs`` ) in descending order. If there are grouped results that the number of records in the group are the same, these grouped results are sorted by grouped key (= ``_key`` ) in ascending order."
1521 msgstr "Drilldown result is sorted by the number of grouped records (= ``_nsubrecs`` ) in descending order. If there are grouped results that the number of records in the group are the same, these grouped results are sorted by grouped key (= ``_key`` ) in ascending order."
1522
1523 msgid "The sort keys are used in all group keys specified in ``drilldown``:"
1524 msgstr "The sort keys are used in all group keys specified in ``drilldown``:"
1525
1526 msgid "The same sort keys are used in ``tag`` drilldown and ``n_likes`` drilldown."
1527 msgstr "The same sort keys are used in ``tag`` drilldown and ``n_likes`` drilldown."
1528
1529 msgid "If you want to use different sort keys for each drilldown, use :ref:`select-advanced-drilldown-related-parameters`."
1530 msgstr "If you want to use different sort keys for each drilldown, use :ref:`select-advanced-drilldown-related-parameters`."
1531
1532 msgid "``drilldown_output_columns``"
1533 msgstr "``drilldown_output_columns``"
1534
1535 msgid "Specifies output columns for drilldown separated by ``,``."
1536 msgstr "Specifies output columns for drilldown separated by ``,``."
1537
1538 msgid "Here is a ``drilldown_output_columns`` example:"
1539 msgstr "Here is a ``drilldown_output_columns`` example:"
1540
1541 msgid "The ``select`` command just outputs grouped key."
1542 msgstr "The ``select`` command just outputs grouped key."
1543
1544 msgid "If grouped key is a referenced type column (= column that its type is a table), you can access column of the table referenced by the referenced type column."
1545 msgstr "If grouped key is a referenced type column (= column that its type is a table), you can access column of the table referenced by the referenced type column."
1546
1547 msgid "Here are a schema definition and sample data to show drilldown against referenced type column:"
1548 msgstr "Here are a schema definition and sample data to show drilldown against referenced type column:"
1549
1550 msgid "``Tags`` table is a referenced table. ``Items.tag`` is a referenced type column."
1551 msgstr "``Tags`` table is a referenced table. ``Items.tag`` is a referenced type column."
1552
1553 msgid "You can refer ``Tags.label`` by ``label`` in ``drilldown_output_columns``:"
1554 msgstr "You can refer ``Tags.label`` by ``label`` in ``drilldown_output_columns``:"
1555
1556 msgid "You can use ``*`` to refer all columns in referenced table (= ``Tags``):"
1557 msgstr "You can use ``*`` to refer all columns in referenced table (= ``Tags``):"
1558
1559 msgid "``*`` is expanded to ``label, priority``."
1560 msgstr "``*`` is expanded to ``label, priority``."
1561
1562 msgid "The default value of ``drilldown_output_columns`` is ``_key, _nsubrecs``. It means that grouped key and the number of records in the group are output."
1563 msgstr "The default value of ``drilldown_output_columns`` is ``_key, _nsubrecs``. It means that grouped key and the number of records in the group are output."
1564
1565 msgid "You can use more :doc:`/reference/columns/pseudo` in ``drilldown_output_columns`` such as ``_max``, ``_min``, ``_sum`` and ``_avg`` when you use :ref:`select-drilldown-calc-types`. See ``drilldown_calc_types`` document for details."
1566 msgstr "You can use more :doc:`/reference/columns/pseudo` in ``drilldown_output_columns`` such as ``_max``, ``_min``, ``_sum`` and ``_avg`` when you use :ref:`select-drilldown-calc-types`. See ``drilldown_calc_types`` document for details."
1567
1568 msgid "``drilldown_offset``"
1569 msgstr "``drilldown_offset``"
1570
1571 msgid "Specifies offset to determine range of drilldown output records. Offset is zero-based. ``--drilldown_offset 1`` means output range is started from the 2nd record."
1572 msgstr "Specifies offset to determine range of drilldown output records. Offset is zero-based. ``--drilldown_offset 1`` means output range is started from the 2nd record."
1573
1574 msgid "Here is a ``drilldown_offset`` example:"
1575 msgstr "Here is a ``drilldown_offset`` example:"
1576
1577 msgid "The ``select`` command outputs from the 2nd record."
1578 msgstr "The ``select`` command outputs from the 2nd record."
1579
1580 msgid "You can specify negative value. It means that ``the number of grouped results + offset``. If you have 3 grouped results and specify ``--drilldown_offset -2``, you get grouped results from the 2st (``3 + -2 = 1``. ``1`` means 2nd. Remember that offset is zero-based.) grouped result to the 3rd grouped result."
1581 msgstr "You can specify negative value. It means that ``the number of grouped results + offset``. If you have 3 grouped results and specify ``--drilldown_offset -2``, you get grouped results from the 2st (``3 + -2 = 1``. ``1`` means 2nd. Remember that offset is zero-based.) grouped result to the 3rd grouped result."
1582
1583 msgid "The ``select`` command outputs from the 2nd grouped result because the total number of grouped results is ``3``."
1584 msgstr "The ``select`` command outputs from the 2nd grouped result because the total number of grouped results is ``3``."
1585
1586 msgid "The default value of ``drilldown_offset`` is ``0``."
1587 msgstr "The default value of ``drilldown_offset`` is ``0``."
1588
1589 msgid "``drilldown_limit``"
1590 msgstr "``drilldown_limit``"
1591
1592 msgid "Specifies the max number of groups in a drilldown. If the number of groups is less than ``drilldown_limit``, all groups are outputted."
1593 msgstr "Specifies the max number of groups in a drilldown. If the number of groups is less than ``drilldown_limit``, all groups are outputted."
1594
1595 msgid "Here is a ``drilldown_limit`` example:"
1596 msgstr "Here is a ``drilldown_limit`` example:"
1597
1598 msgid "The ``select`` command outputs the 2rd and the 3rd groups."
1599 msgstr "The ``select`` command outputs the 2rd and the 3rd groups."
1600
1601 msgid "You can specify negative value. It means that ``the number of groups + drilldown_limit + 1``. For example, ``--drilldown_limit -1`` outputs all groups. It's very useful value to show all groups."
1602 msgstr "You can specify negative value. It means that ``the number of groups + drilldown_limit + 1``. For example, ``--drilldown_limit -1`` outputs all groups. It's very useful value to show all groups."
1603
1604 msgid "Here is a negative ``drilldown_limit`` value example."
1605 msgstr "Here is a negative ``drilldown_limit`` value example."
1606
1607 msgid "The ``select`` command outputs all groups."
1608 msgstr "The ``select`` command outputs all groups."
1609
1610 msgid "The default value of ``drilldown_limit`` is ``10``."
1611 msgstr "The default value of ``drilldown_limit`` is ``10``."
1612
1613 msgid "``drilldown_calc_types``"
1614 msgstr "``drilldown_calc_types``"
1615
1616 msgid "Specifies how to calculate (aggregate) values in grouped records by a drilldown. You can specify multiple calculation types separated by \"``,``\". For example, ``MAX,MIN``."
1617 msgstr "Specifies how to calculate (aggregate) values in grouped records by a drilldown. You can specify multiple calculation types separated by \"``,``\". For example, ``MAX,MIN``."
1618
1619 msgid "Calculation target values are read from a column of grouped records. The column is specified by :ref:`select-drilldown-calc-target`."
1620 msgstr "Calculation target values are read from a column of grouped records. The column is specified by :ref:`select-drilldown-calc-target`."
1621
1622 msgid "You can read calculated value by :doc:`/reference/columns/pseudo` such as ``_max`` and ``_min`` in :ref:`select-drilldown-output-columns`."
1623 msgstr "You can read calculated value by :doc:`/reference/columns/pseudo` such as ``_max`` and ``_min`` in :ref:`select-drilldown-output-columns`."
1624
1625 msgid "You can use the following calculation types:"
1626 msgstr "You can use the following calculation types:"
1627
1628 msgid "Type name"
1629 msgstr "Type name"
1630
1631 msgid ":doc:`/reference/columns/pseudo` name"
1632 msgstr ":doc:`/reference/columns/pseudo` name"
1633
1634 msgid "Need :ref:`select-drilldown-calc-target`"
1635 msgstr "Need :ref:`select-drilldown-calc-target`"
1636
1637 msgid "Nothing."
1638 msgstr "Nothing."
1639
1640 msgid "Not needs."
1641 msgstr "Not needs."
1642
1643 msgid "Just ignored."
1644 msgstr "Just ignored."
1645
1646 msgid "``COUNT``"
1647 msgstr "``COUNT``"
1648
1649 msgid "``_nsubrecs``"
1650 msgstr "``_nsubrecs``"
1651
1652 msgid "Counting grouped records. It's always enabled. So you don't need to specify it."
1653 msgstr "Counting grouped records. It's always enabled. So you don't need to specify it."
1654
1655 msgid "``MAX``"
1656 msgstr "``MAX``"
1657
1658 msgid "``_max``"
1659 msgstr "``_max``"
1660
1661 msgid "Needs."
1662 msgstr "Needs."
1663
1664 msgid "Finding the maximum integer value from integer values in grouped records."
1665 msgstr "Finding the maximum integer value from integer values in grouped records."
1666
1667 msgid "``MIN``"
1668 msgstr "``MIN``"
1669
1670 msgid "``_min``"
1671 msgstr "``_min``"
1672
1673 msgid "Finding the minimum integer value from integer values in grouped records."
1674 msgstr "Finding the minimum integer value from integer values in grouped records."
1675
1676 msgid "``SUM``"
1677 msgstr "``SUM``"
1678
1679 msgid "``_sum``"
1680 msgstr "``_sum``"
1681
1682 msgid "Summing integer values in grouped records."
1683 msgstr "Summing integer values in grouped records."
1684
1685 msgid "``AVG``"
1686 msgstr "``AVG``"
1687
1688 msgid "``_avg``"
1689 msgstr "``_avg``"
1690
1691 msgid "Averaging integer/float values in grouped records."
1692 msgstr "Averaging integer/float values in grouped records."
1693
1694 msgid "Here is a ``MAX`` example:"
1695 msgstr "Here is a ``MAX`` example:"
1696
1697 msgid "The ``select`` command groups all records by ``tag`` column value, finding the maximum ``n_likes`` column value for each group and outputs pairs of grouped key and the maximum ``n_likes`` column value for the group. It uses ``_max`` :doc:`/reference/columns/pseudo` to read the maximum ``n_likes`` column value."
1698 msgstr "The ``select`` command groups all records by ``tag`` column value, finding the maximum ``n_likes`` column value for each group and outputs pairs of grouped key and the maximum ``n_likes`` column value for the group. It uses ``_max`` :doc:`/reference/columns/pseudo` to read the maximum ``n_likes`` column value."
1699
1700 msgid "Here is a ``MIN`` example:"
1701 msgstr "Here is a ``MIN`` example:"
1702
1703 msgid "The ``select`` command groups all records by ``tag`` column value, finding the minimum ``n_likes`` column value for each group and outputs pairs of grouped key and the minimum ``n_likes`` column value for the group. It uses ``_min`` :doc:`/reference/columns/pseudo` to read the minimum ``n_likes`` column value."
1704 msgstr "The ``select`` command groups all records by ``tag`` column value, finding the minimum ``n_likes`` column value for each group and outputs pairs of grouped key and the minimum ``n_likes`` column value for the group. It uses ``_min`` :doc:`/reference/columns/pseudo` to read the minimum ``n_likes`` column value."
1705
1706 msgid "Here is a ``SUM`` example:"
1707 msgstr "Here is a ``SUM`` example:"
1708
1709 msgid "The ``select`` command groups all records by ``tag`` column value, sums all ``n_likes`` column values for each group and outputs pairs of grouped key and the summed ``n_likes`` column values for the group. It uses ``_sum`` :doc:`/reference/columns/pseudo` to read the summed ``n_likes`` column values."
1710 msgstr "The ``select`` command groups all records by ``tag`` column value, sums all ``n_likes`` column values for each group and outputs pairs of grouped key and the summed ``n_likes`` column values for the group. It uses ``_sum`` :doc:`/reference/columns/pseudo` to read the summed ``n_likes`` column values."
1711
1712 msgid "Here is a ``AVG`` example:"
1713 msgstr "Here is a ``AVG`` example:"
1714
1715 msgid "The ``select`` command groups all records by ``tag`` column value, averages all ``n_likes`` column values for each group and outputs pairs of grouped key and the averaged ``n_likes`` column values for the group. It uses ``_avg`` :doc:`/reference/columns/pseudo` to read the averaged ``n_likes`` column values."
1716 msgstr "The ``select`` command groups all records by ``tag`` column value, averages all ``n_likes`` column values for each group and outputs pairs of grouped key and the averaged ``n_likes`` column values for the group. It uses ``_avg`` :doc:`/reference/columns/pseudo` to read the averaged ``n_likes`` column values."
1717
1718 msgid "Here is an example that uses all calculation types:"
1719 msgstr "Here is an example that uses all calculation types:"
1720
1721 msgid "The ``select`` command specifies multiple calculation types separated by \"``,``\" like ``MAX,MIN,SUM,AVG``. You can use ``_nsubrecs`` :doc:`/reference/columns/pseudo` in :ref:`select-drilldown-output-columns` without specifying ``COUNT`` in ``drilldown_calc_types``. Because ``COUNT`` is always enabled."
1722 msgstr "The ``select`` command specifies multiple calculation types separated by \"``,``\" like ``MAX,MIN,SUM,AVG``. You can use ``_nsubrecs`` :doc:`/reference/columns/pseudo` in :ref:`select-drilldown-output-columns` without specifying ``COUNT`` in ``drilldown_calc_types``. Because ``COUNT`` is always enabled."
1723
1724 msgid "The default value of ``drilldown_calc_types`` is ``NONE``. It means that only ``COUNT`` is enabled. Because ``NONE`` is just ignored and ``COUNT`` is always enabled."
1725 msgstr "The default value of ``drilldown_calc_types`` is ``NONE``. It means that only ``COUNT`` is enabled. Because ``NONE`` is just ignored and ``COUNT`` is always enabled."
1726
1727 msgid "``drilldown_calc_target``"
1728 msgstr "``drilldown_calc_target``"
1729
1730 msgid "Specifies the target column for :ref:`select-drilldown-calc-types`."
1731 msgstr "Specifies the target column for :ref:`select-drilldown-calc-types`."
1732
1733 msgid "If you specify a calculation type that needs a target column such as ``MAX`` in :ref:`select-drilldown-calc-types` but you omit ``drilldown_calc_target``, the calculation result is always ``0``."
1734 msgstr "If you specify a calculation type that needs a target column such as ``MAX`` in :ref:`select-drilldown-calc-types` but you omit ``drilldown_calc_target``, the calculation result is always ``0``."
1735
1736 msgid "You can specify only one column name like ``--drilldown_calc_target n_likes``. You can't specify multiple column name like ``--drilldown_calc_target _key,n_likes``."
1737 msgstr "You can specify only one column name like ``--drilldown_calc_target n_likes``. You can't specify multiple column name like ``--drilldown_calc_target _key,n_likes``."
1738
1739 msgid "You can use referenced value from the target record by combining \"``.``\" like ``--drilldown_calc_target reference_column.nested_reference_column.value``."
1740 msgstr "You can use referenced value from the target record by combining \"``.``\" like ``--drilldown_calc_target reference_column.nested_reference_column.value``."
1741
1742 msgid "See :ref:`select-drilldown-calc-types` to know how to use ``drilldown_calc_target``."
1743 msgstr "See :ref:`select-drilldown-calc-types` to know how to use ``drilldown_calc_target``."
1744
1745 msgid "The default value of ``drilldown_calc_target`` is ``null``. It means that no calculation target column is specified."
1746 msgstr "The default value of ``drilldown_calc_target`` is ``null``. It means that no calculation target column is specified."
1747
1748 msgid "``drilldown_filter``"
1749 msgstr "``drilldown_filter``"
1750
1751 msgid "Specifies the filter condition against the drilled down result."
1752 msgstr "Specifies the filter condition against the drilled down result."
1753
1754 msgid "The syntax is :doc:`/reference/grn_expr/script_syntax`. It's the same as :ref:`select-filter`."
1755 msgstr "The syntax is :doc:`/reference/grn_expr/script_syntax`. It's the same as :ref:`select-filter`."
1756
1757 msgid "Here is an example to suppress tags that are occurred only once:"
1758 msgstr "Here is an example to suppress tags that are occurred only once:"
1759
1760 msgid "``drilldown_max_n_target_records``"
1761 msgstr "``drilldown_max_n_target_records``"
1762
1763 msgid "Specifies the max number of records of the drilldown target table (filtered result) to use drilldown. If the number of filtered result is larger than the specified value, some records in filtered result aren't used for drilldown."
1764 msgstr "Specifies the max number of records of the drilldown target table (filtered result) to use drilldown. If the number of filtered result is larger than the specified value, some records in filtered result aren't used for drilldown."
1765
1766 msgid "If the specified value is negative, it's processed same as :ref:`select-limit`. For example, ``-1`` uses all records. The default value is ``-1``. It means that all filtered records are used by default."
1767 msgstr "If the specified value is negative, it's processed same as :ref:`select-limit`. For example, ``-1`` uses all records. The default value is ``-1``. It means that all filtered records are used by default."
1768
1769 msgid "This feature is useful when filtered result may be very large. A drilldown against large filtered result may be slow. You can limit the max number of records to be used for drilldown by this feature."
1770 msgstr "This feature is useful when filtered result may be very large. A drilldown against large filtered result may be slow. You can limit the max number of records to be used for drilldown by this feature."
1771
1772 msgid "Here is an example to limit the max number of records to be used for drilldown. The last 2 records, ``{\"_id\": 4, \"tag\": \"Senna\"}`` and ``{\"_id\": 5, \"tag\": \"Senna\"}``, aren't used:"
1773 msgstr "Here is an example to limit the max number of records to be used for drilldown. The last 2 records, ``{\"_id\": 4, \"tag\": \"Senna\"}`` and ``{\"_id\": 5, \"tag\": \"Senna\"}``, aren't used:"
1774
1775 msgid "Advanced drilldown related parameters"
1776 msgstr "Advanced drilldown related parameters"
1777
1778 msgid "You can get multiple drilldown results by specifying multiple group keys by :ref:`select-drilldown`. But you need to use the same configuration for all drilldowns. For example, :ref:`select-drilldown-output-columns` is used by all drilldowns."
1779 msgstr "You can get multiple drilldown results by specifying multiple group keys by :ref:`select-drilldown`. But you need to use the same configuration for all drilldowns. For example, :ref:`select-drilldown-output-columns` is used by all drilldowns."
1780
1781 msgid "You can use a configuration for each drilldown by the following parameters:"
1782 msgstr "You can use a configuration for each drilldown by the following parameters:"
1783
1784 msgid "``drilldowns[${LABEL}].keys``"
1785 msgstr "``drilldowns[${LABEL}].keys``"
1786
1787 msgid "``drilldowns[${LABEL}].table``"
1788 msgstr "``drilldowns[${LABEL}].table``"
1789
1790 msgid "``drilldowns[${LABEL}].sort_keys``"
1791 msgstr "``drilldowns[${LABEL}].sort_keys``"
1792
1793 msgid "``drilldowns[${LABEL}].output_columns``"
1794 msgstr "``drilldowns[${LABEL}].output_columns``"
1795
1796 msgid "``drilldowns[${LABEL}].offset``"
1797 msgstr "``drilldowns[${LABEL}].offset``"
1798
1799 msgid "``drilldowns[${LABEL}].limit``"
1800 msgstr "``drilldowns[${LABEL}].limit``"
1801
1802 msgid "``drilldowns[${LABEL}].calc_types``"
1803 msgstr "``drilldowns[${LABEL}].calc_types``"
1804
1805 msgid "``drilldowns[${LABEL}].calc_target``"
1806 msgstr "``drilldowns[${LABEL}].calc_target``"
1807
1808 msgid "``drilldowns[${LABEL}].filter``"
1809 msgstr "``drilldowns[${LABEL}].filter``"
1810
1811 msgid "``drilldowns[${LABEL}].max_n_target_records``"
1812 msgstr "``drilldowns[${LABEL}].max_n_target_records``"
1813
1814 msgid "``drilldowns[${LABEL}].key_vector_expansion``"
1815 msgstr "``drilldowns[${LABEL}].key_vector_expansion``"
1816
1817 msgid "``${LABEL}`` is a variable. You can use the following characters for ``${LABEL}``:"
1818 msgstr "``${LABEL}`` is a variable. You can use the following characters for ``${LABEL}``:"
1819
1820 msgid "Alphabets"
1821 msgstr "Alphabets"
1822
1823 msgid "Digits"
1824 msgstr "Digits"
1825
1826 msgid "``.``"
1827 msgstr "``.``"
1828
1829 msgid "``_``"
1830 msgstr "``_``"
1831
1832 msgid "``${NAME}`` is a variable. You can use the following characters for ``${NAME}``:"
1833 msgstr "``${NAME}`` is a variable. You can use the following characters for ``${NAME}``:"
1834
1835 msgid "You can use more characters but it's better that you use only these characters."
1836 msgstr "You can use more characters but it's better that you use only these characters."
1837
1838 msgid "Parameters that has the same ``${LABEL}`` value are grouped. Grouped parameters are used for one drilldown."
1839 msgstr "Parameters that has the same ``${LABEL}`` value are grouped. Grouped parameters are used for one drilldown."
1840
1841 msgid "For example, there are 2 groups for the following parameters:"
1842 msgstr "For example, there are 2 groups for the following parameters:"
1843
1844 msgid "``--drilldowns[label1].keys _key``"
1845 msgstr "``--drilldowns[label1].keys _key``"
1846
1847 msgid "``--drilldowns[label1].output_columns _nsubrecs``"
1848 msgstr "``--drilldowns[label1].output_columns _nsubrecs``"
1849
1850 msgid "``--drilldowns[label2].keys tag``"
1851 msgstr "``--drilldowns[label2].keys tag``"
1852
1853 msgid "``--drilldowns[label2].output_columns _key,_nsubrecs``"
1854 msgstr "``--drilldowns[label2].output_columns _key,_nsubrecs``"
1855
1856 msgid "``drilldowns[label1].keys`` and ``drilldowns[label1].output_columns`` are grouped. ``drilldowns[label2].keys`` and ``drilldowns[label2].output_columns`` are also grouped."
1857 msgstr "``drilldowns[label1].keys`` and ``drilldowns[label1].output_columns`` are grouped. ``drilldowns[label2].keys`` and ``drilldowns[label2].output_columns`` are also grouped."
1858
1859 msgid "In ``label1`` group, ``_key`` is used for group key and ``_nsubrecs`` is used for output columns."
1860 msgstr "In ``label1`` group, ``_key`` is used for group key and ``_nsubrecs`` is used for output columns."
1861
1862 msgid "In ``label2`` group, ``tag`` is used for group key and ``_key,_nsubrecs`` is used for output columns."
1863 msgstr "In ``label2`` group, ``tag`` is used for group key and ``_key,_nsubrecs`` is used for output columns."
1864
1865 msgid "See document for corresponding ``drilldown_XXX`` parameter to know how to use it for the following parameters:"
1866 msgstr "See document for corresponding ``drilldown_XXX`` parameter to know how to use it for the following parameters:"
1867
1868 msgid "``drilldowns[${LABEL}].sort_keys``: :ref:`select-drilldown-sort-keys`"
1869 msgstr "``drilldowns[${LABEL}].sort_keys``: :ref:`select-drilldown-sort-keys`"
1870
1871 msgid "``drilldowns[${LABEL}].offset``: :ref:`select-drilldown-offset`"
1872 msgstr "``drilldowns[${LABEL}].offset``: :ref:`select-drilldown-offset`"
1873
1874 msgid "``drilldowns[${LABEL}].limit``: :ref:`select-drilldown-limit`"
1875 msgstr "``drilldowns[${LABEL}].limit``: :ref:`select-drilldown-limit`"
1876
1877 msgid "``drilldowns[${LABEL}].calc_types``: :ref:`select-drilldown-calc-types`"
1878 msgstr "``drilldowns[${LABEL}].calc_types``: :ref:`select-drilldown-calc-types`"
1879
1880 msgid "``drilldowns[${LABEL}].calc_target``: :ref:`select-drilldown-calc-target`"
1881 msgstr "``drilldowns[${LABEL}].calc_target``: :ref:`select-drilldown-calc-target`"
1882
1883 msgid "``drilldowns[${LABEL}].filter``: :ref:`select-drilldown-filter`"
1884 msgstr "``drilldowns[${LABEL}].filter``: :ref:`select-drilldown-filter`"
1885
1886 msgid "``drilldowns[${LABEL}].max_n_target_records``: :ref:`select-drilldown-max-n-target-records`"
1887 msgstr "``drilldowns[${LABEL}].max_n_target_records``: :ref:`select-drilldown-max-n-target-records`"
1888
1889 msgid "See document for corresponding ``columns[${NAME}].XXX`` parameter to know how to use it for the following parameters:"
1890 msgstr "See document for corresponding ``columns[${NAME}].XXX`` parameter to know how to use it for the following parameters:"
1891
1892 msgid "``drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR``: :ref:`select-columns-name-flags`"
1893 msgstr "``drilldowns[${LABEL}].columns[${NAME}].flags=COLUMN_SCALAR``: :ref:`select-columns-name-flags`"
1894
1895 msgid "``drilldowns[${LABEL}].columns[${NAME}].type=null``: :ref:`select-columns-name-type`"
1896 msgstr "``drilldowns[${LABEL}].columns[${NAME}].type=null``: :ref:`select-columns-name-type`"
1897
1898 msgid "``drilldowns[${LABEL}].columns[${NAME}].value=null``: :ref:`select-columns-name-value`"
1899 msgstr "``drilldowns[${LABEL}].columns[${NAME}].value=null``: :ref:`select-columns-name-value`"
1900
1901 msgid "``drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null``: :ref:`select-columns-name-window-sort-keys`"
1902 msgstr "``drilldowns[${LABEL}].columns[${NAME}].window.sort_keys=null``: :ref:`select-columns-name-window-sort-keys`"
1903
1904 msgid "``drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null``: :ref:`select-columns-name-window-group-keys`"
1905 msgstr "``drilldowns[${LABEL}].columns[${NAME}].window.group_keys=null``: :ref:`select-columns-name-window-group-keys`"
1906
1907 msgid "The following parameters are needed more description:"
1908 msgstr "The following parameters are needed more description:"
1909
1910 msgid "Output format is different a bit. It's also needed more description."
1911 msgstr "Output format is different a bit. It's also needed more description."
1912
1913 msgid ":ref:`select-drilldown` can specify multiple keys for multiple drilldowns. But it can't specify multiple keys for one drilldown."
1914 msgstr ":ref:`select-drilldown` can specify multiple keys for multiple drilldowns. But it can't specify multiple keys for one drilldown."
1915
1916 msgid "``drilldowns[${LABEL}].keys`` can't specify multiple keys for multiple drilldowns. But it can specify multiple keys for one drilldown."
1917 msgstr "``drilldowns[${LABEL}].keys`` can't specify multiple keys for multiple drilldowns. But it can specify multiple keys for one drilldown."
1918
1919 msgid "You can specify multiple keys separated by \"``,``\"."
1920 msgstr "You can specify multiple keys separated by \"``,``\"."
1921
1922 msgid "Here is an example to group by multiple keys, ``tag`` and ``n_likes`` column values:"
1923 msgstr "Here is an example to group by multiple keys, ``tag`` and ``n_likes`` column values:"
1924
1925 msgid "``tag.n_likes`` is used as the label for the drilldown parameters group. You can refer grouped keys by ``_value.${KEY_NAME}`` syntax in :ref:`select-drilldowns-label-output-columns`. ``${KEY_NAME}`` is a column name to be used by group key. ``tag`` and ``n_likes`` are ``${KEY_NAME}`` in this case."
1926 msgstr "``tag.n_likes`` is used as the label for the drilldown parameters group. You can refer grouped keys by ``_value.${KEY_NAME}`` syntax in :ref:`select-drilldowns-label-output-columns`. ``${KEY_NAME}`` is a column name to be used by group key. ``tag`` and ``n_likes`` are ``${KEY_NAME}`` in this case."
1927
1928 msgid "Note that you can't use ``_value.${KEY_NAME}`` syntax when you just specify one key as ``drilldowns[${LABEL}].keys`` like ``--drilldowns[tag].keys tag``. You should use ``_key`` for the case. It's the same rule in :ref:`select-drilldown-output-columns`."
1929 msgstr "Note that you can't use ``_value.${KEY_NAME}`` syntax when you just specify one key as ``drilldowns[${LABEL}].keys`` like ``--drilldowns[tag].keys tag``. You should use ``_key`` for the case. It's the same rule in :ref:`select-drilldown-output-columns`."
1930
1931 msgid "Specify ``${LABEL}`` of other ``drilldowns`` or ``slices``."
1932 msgstr "Specify ``${LABEL}`` of other ``drilldowns`` or ``slices``."
1933
1934 msgid "You can drilldown the result of specified ``${LABEL}``. It means that this parameter enables a nested drilldown."
1935 msgstr "You can drilldown the result of specified ``${LABEL}``. It means that this parameter enables a nested drilldown."
1936
1937 msgid "Here is an example to execute the nested drilldown. The final result takes first drilldown by ``tag`` and then 2nd drilldown by ``category`` against first result."
1938 msgstr "Here is an example to execute the nested drilldown. The final result takes first drilldown by ``tag`` and then 2nd drilldown by ``category`` against first result."
1939
1940 msgid "In this example; The schema contains the table named as ``NestedDrilldownMemo`` which has the column named as ``tag``, the table named as ``NestedDrilldownTags`` which has the column named as ``category``."
1941 msgstr "In this example; The schema contains the table named as ``NestedDrilldownMemo`` which has the column named as ``tag``, the table named as ``NestedDrilldownTags`` which has the column named as ``category``."
1942
1943 msgid "``Tag`` drilldowns ``NestedDrilldownMemos`` by ``tag``. Thus, the result of ``Tag`` contains one row each for ``Groonga``, ``Mroonga`` and ``Rroonga``. And then, ``Category`` drilldowns ``Tag`` by ``category``. Thus the result of ``Category`` contains two records has ``C/C++`` and one records has ``Ruby``."
1944 msgstr "``Tag`` drilldowns ``NestedDrilldownMemos`` by ``tag``. Thus, the result of ``Tag`` contains one row each for ``Groonga``, ``Mroonga`` and ``Rroonga``. And then, ``Category`` drilldowns ``Tag`` by ``category``. Thus the result of ``Category`` contains two records has ``C/C++`` and one records has ``Ruby``."
1945
1946 msgid "This specifies how to expand key when keys for drilldown are vector. Currently, ``NONE`` or ``POWER_SET`` are able to be specified."
1947 msgstr "This specifies how to expand key when keys for drilldown are vector. Currently, ``NONE`` or ``POWER_SET`` are able to be specified."
1948
1949 msgid "This work only time when one key is target for drilldown. This doesn't work time when more than 2 keys are target for drilldown."
1950 msgstr "This work only time when one key is target for drilldown. This doesn't work time when more than 2 keys are target for drilldown."
1951
1952 msgid "This works as same as ``key_vector_expansion`` is not specified."
1953 msgstr "This works as same as ``key_vector_expansion`` is not specified."
1954
1955 msgid "Keys would not be expanded. Each element within a vector works as each key."
1956 msgstr "Keys would not be expanded. Each element within a vector works as each key."
1957
1958 msgid "Following is a sample to aggregate total number of individual and combination occurrence for 3 tags, ``Groonga``, ``Mroonga``, and ``PGroonga``."
1959 msgstr "Following is a sample to aggregate total number of individual and combination occurrence for 3 tags, ``Groonga``, ``Mroonga``, and ``PGroonga``."
1960
1961 msgid "Following are facts from the results."
1962 msgstr "Following are facts from the results."
1963
1964 msgid "tag"
1965 msgstr "tag"
1966
1967 msgid "number of occurrence( ``_nsubrecs`` )"
1968 msgstr "number of occurrence( ``_nsubrecs`` )"
1969
1970 msgid "``Mroonga``"
1971 msgstr "``Mroonga``"
1972
1973 msgid "``PGroonga``"
1974 msgstr "``PGroonga``"
1975
1976 msgid "``POWER_SET``"
1977 msgstr "``POWER_SET``"
1978
1979 msgid "This aggregates total with expanding vectors to the power set. In this case, a target vector is considered as multi set. Thus, each element is considered as an individual element when there are multiple elements with same value."
1980 msgstr "This aggregates total with expanding vectors to the power set. In this case, a target vector is considered as multi set. Thus, each element is considered as an individual element when there are multiple elements with same value."
1981
1982 msgid "For example, there is a vector ``[A, B, C]``. In this case, a target set is ``{A, B, C}``. The power set is aggregation for all of subsets within a set. Following shows all of subset within a set ``{A, B, C}``. However, Groonga does not use empty set, that number of elements is 0. It is because empty set is not useful for results of drilldown. Please report at `issue <https://github.com/groonga/groonga/issues>`_, if you find a case to use empty set."
1983 msgstr "For example, there is a vector ``[A, B, C]``. In this case, a target set is ``{A, B, C}``. The power set is aggregation for all of subsets within a set. Following shows all of subset within a set ``{A, B, C}``. However, Groonga does not use empty set, that number of elements is 0. It is because empty set is not useful for results of drilldown. Please report at `issue <https://github.com/groonga/groonga/issues>`_, if you find a case to use empty set."
1984
1985 msgid "Subset with 1 element"
1986 msgstr "Subset with 1 element"
1987
1988 msgid "``{A}``"
1989 msgstr "``{A}``"
1990
1991 msgid "``{B}``"
1992 msgstr "``{B}``"
1993
1994 msgid "``{C}``"
1995 msgstr "``{C}``"
1996
1997 msgid "Subset with 2 elements"
1998 msgstr "Subset with 2 elements"
1999
2000 msgid "``{A, B}``"
2001 msgstr "``{A, B}``"
2002
2003 msgid "``{B, C}``"
2004 msgstr "``{B, C}``"
2005
2006 msgid "``{A, C}``"
2007 msgstr "``{A, C}``"
2008
2009 msgid "Subset with 3 elements"
2010 msgstr "Subset with 3 elements"
2011
2012 msgid "``{A, B, C}``"
2013 msgstr "``{A, B, C}``"
2014
2015 msgid "Those are all subsets for ``{A, B, C}``. Since the power set is aggregation of those subsets, ``{{A}, {B}, {C}, {A, B}, {B, C}, {A, C}, {A, B, C}}`` is a power set for the vector."
2016 msgstr "Those are all subsets for ``{A, B, C}``. Since the power set is aggregation of those subsets, ``{{A}, {B}, {C}, {A, B}, {B, C}, {A, C}, {A, B, C}}`` is a power set for the vector."
2017
2018 msgid "``POWER_SET`` aggregates with each subset for ``{{A}, {B}, {C}, {A, B}, {B, C}, {A, C}, {A, B, C}}``."
2019 msgstr "``POWER_SET`` aggregates with each subset for ``{{A}, {B}, {C}, {A, B}, {B, C}, {A, C}, {A, B, C}}``."
2020
2021 msgid "For example, there is a case to aggregate ``[A, B, C]`` and ``[B, C, D]`` with the power set."
2022 msgstr "For example, there is a case to aggregate ``[A, B, C]`` and ``[B, C, D]`` with the power set."
2023
2024 msgid "A power set for ``[A, B, C]`` is ``{{A}, {B}, {C}, {A, B}, {B, C}, {A, C}, {A, B, C}}`` as previously explained. Likewise a power set for ``[B, C, D]`` is ``{{B}, {C}, {D}, {B, C}, {C, D}, {B, D}, {B, C, D}}``."
2025 msgstr "A power set for ``[A, B, C]`` is ``{{A}, {B}, {C}, {A, B}, {B, C}, {A, C}, {A, B, C}}`` as previously explained. Likewise a power set for ``[B, C, D]`` is ``{{B}, {C}, {D}, {B, C}, {C, D}, {B, D}, {B, C, D}}``."
2026
2027 msgid "Aggregating occurrence of each subset in each power set is shown in result as follows."
2028 msgstr "Aggregating occurrence of each subset in each power set is shown in result as follows."
2029
2030 msgid "subset"
2031 msgstr "subset"
2032
2033 msgid "``{D}``"
2034 msgstr "``{D}``"
2035
2036 msgid "``{B, D}``"
2037 msgstr "``{B, D}``"
2038
2039 msgid "``{C, D}``"
2040 msgstr "``{C, D}``"
2041
2042 msgid "``{B, C, D}``"
2043 msgstr "``{B, C, D}``"
2044
2045 msgid "This aggregating methods is useful when it is requirement to sum total number of occurrence for individual tags and combination of tags at once."
2046 msgstr "This aggregating methods is useful when it is requirement to sum total number of occurrence for individual tags and combination of tags at once."
2047
2048 msgid "Following is an example to aggregate total occurrence for individual and combination of 3 tags, ``Groonga``, ``Mroonga``, and ``PGroonga``."
2049 msgstr "Following is an example to aggregate total occurrence for individual and combination of 3 tags, ``Groonga``, ``Mroonga``, and ``PGroonga``."
2050
2051 msgid "With this aggregation result, following information would be known."
2052 msgstr "With this aggregation result, following information would be known."
2053
2054 msgid "``Groonga`` and ``Mroonga``"
2055 msgstr "``Groonga`` and ``Mroonga``"
2056
2057 msgid "``Groonga`` and ``PGroonga``"
2058 msgstr "``Groonga`` and ``PGroonga``"
2059
2060 msgid "``Mroonga`` and ``PGroonga``"
2061 msgstr "``Mroonga`` and ``PGroonga``"
2062
2063 msgid "``Groonga`` and ``Mroonga`` and ``PGroonga``"
2064 msgstr "``Groonga`` and ``Mroonga`` and ``PGroonga``"
2065
2066 msgid "This result allows to analyze correlation between each tag and combination such as whether often used. For example with this sample, it can be analyzed that ``Groonga`` and ``Mroonga`` are used twice at same time and within those twice, ``PGroonga`` is also used at same time for once."
2067 msgstr "This result allows to analyze correlation between each tag and combination such as whether often used. For example with this sample, it can be analyzed that ``Groonga`` and ``Mroonga`` are used twice at same time and within those twice, ``PGroonga`` is also used at same time for once."
2068
2069 msgid "It's almost same as :ref:`select-drilldown-output-columns`. The difference between :ref:`select-drilldown-output-columns` and ``drilldowns[${LABEL}].output_columns`` is how to refer group keys."
2070 msgstr "It's almost same as :ref:`select-drilldown-output-columns`. The difference between :ref:`select-drilldown-output-columns` and ``drilldowns[${LABEL}].output_columns`` is how to refer group keys."
2071
2072 msgid ":ref:`select-drilldown-output-columns` uses ``_key`` :doc:`/reference/columns/pseudo` to refer group key. ``drilldowns[${LABEL}].output_columns`` also uses ``_key`` :doc:`/reference/columns/pseudo` to refer group key when you specify only one group key by :ref:`select-drilldowns-label-keys`."
2073 msgstr ":ref:`select-drilldown-output-columns` uses ``_key`` :doc:`/reference/columns/pseudo` to refer group key. ``drilldowns[${LABEL}].output_columns`` also uses ``_key`` :doc:`/reference/columns/pseudo` to refer group key when you specify only one group key by :ref:`select-drilldowns-label-keys`."
2074
2075 msgid "Here is an example to refer single group key by ``_key`` :doc:`/reference/columns/pseudo`:"
2076 msgstr "Here is an example to refer single group key by ``_key`` :doc:`/reference/columns/pseudo`:"
2077
2078 msgid "But you can't refer each group key by ``_key`` :doc:`/reference/columns/pseudo` in ``drilldowns[${LABEL}].output_columns``. You need to use ``_value.${KEY_NAME}`` syntax. ``${KEY_NAME}`` is a column name that is used for group key in :ref:`select-drilldowns-label-keys`."
2079 msgstr "But you can't refer each group key by ``_key`` :doc:`/reference/columns/pseudo` in ``drilldowns[${LABEL}].output_columns``. You need to use ``_value.${KEY_NAME}`` syntax. ``${KEY_NAME}`` is a column name that is used for group key in :ref:`select-drilldowns-label-keys`."
2080
2081 msgid "Here is an example to refer each group key in multiple group keys by ``_value.${KEY_NAME}`` syntax:"
2082 msgstr "Here is an example to refer each group key in multiple group keys by ``_value.${KEY_NAME}`` syntax:"
2083
2084 msgid "Why ``_value.${KEY_NAME}`` syntax?"
2085 msgstr "Why ``_value.${KEY_NAME}`` syntax?"
2086
2087 msgid "It's implementation specific information."
2088 msgstr "It's implementation specific information."
2089
2090 msgid "``_key`` is a vector value. The vector value is consists of all group keys. You can see byte sequence of the vector value by referring ``_key`` in ``drilldowns[${LABEL}].output_columns``."
2091 msgstr "``_key`` is a vector value. The vector value is consists of all group keys. You can see byte sequence of the vector value by referring ``_key`` in ``drilldowns[${LABEL}].output_columns``."
2092
2093 msgid "There is one grouped record in ``_value`` to refer each grouped values when you specify multiple group keys to :ref:`select-drilldowns-label-keys`. So you can refer each group key by ``_value.${KEY_NAME}`` syntax."
2094 msgstr "There is one grouped record in ``_value`` to refer each grouped values when you specify multiple group keys to :ref:`select-drilldowns-label-keys`. So you can refer each group key by ``_value.${KEY_NAME}`` syntax."
2095
2096 msgid "On the other hand, there is no grouped record in ``_value`` when you specify only one group key to :ref:`select-drilldowns-label-keys`. So you can't refer group key by ``_value.${KEY_NAME}`` syntax."
2097 msgstr "On the other hand, there is no grouped record in ``_value`` when you specify only one group key to :ref:`select-drilldowns-label-keys`. So you can't refer group key by ``_value.${KEY_NAME}`` syntax."
2098
2099 msgid "``drilldowns[${LABEL}].columns[${NAME}].stage``"
2100 msgstr "``drilldowns[${LABEL}].columns[${NAME}].stage``"
2101
2102 msgid "Dynamic column is created after ``drilldowns[${LABEL}].filter`` is evaluated."
2103 msgstr "Dynamic column is created after ``drilldowns[${LABEL}].filter`` is evaluated."
2104
2105 msgid "Dynamic column is created before :ref:`select-drilldowns-label-output-columns` is evaluated."
2106 msgstr "Dynamic column is created before :ref:`select-drilldowns-label-output-columns` is evaluated."
2107
2108 msgid "``filtered`` stage and ``output`` stage will be able to use from 10.0.3 or later."
2109 msgstr "``filtered`` stage and ``output`` stage will be able to use from 10.0.3 or later."
2110
2111 msgid "Here is one drilldown process flow with dynamic column creation points. You should choose stage as late as possible:"
2112 msgstr "Here is one drilldown process flow with dynamic column creation points. You should choose stage as late as possible:"
2113
2114 msgid "Evaluates :ref:`select-drilldowns-label-keys`, ``drilldowns[${LABEL}].calc_types`` and ``drilldowns[${LABEL}].calc_target``."
2115 msgstr "Evaluates :ref:`select-drilldowns-label-keys`, ``drilldowns[${LABEL}].calc_types`` and ``drilldowns[${LABEL}].calc_target``."
2116
2117 msgid "Creates dynamic columns for ``initial`` stage. All drilldown result records have these dynamic columns."
2118 msgstr "Creates dynamic columns for ``initial`` stage. All drilldown result records have these dynamic columns."
2119
2120 msgid "Evaluates ``drilldowns[${LABEL}].filter``. You can use dynamic columns created in ``initial`` stage."
2121 msgstr "Evaluates ``drilldowns[${LABEL}].filter``. You can use dynamic columns created in ``initial`` stage."
2122
2123 msgid "Evaluates ``drilldowns[${LABEL}].sort_keys``, ``drilldowns[${LABEL}].offset`` and ``drilldowns[${LABEL}].limit``. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage."
2124 msgstr "Evaluates ``drilldowns[${LABEL}].sort_keys``, ``drilldowns[${LABEL}].offset`` and ``drilldowns[${LABEL}].limit``. You can use dynamic columns created in ``initial`` stage and ``filtered`` stage."
2125
2126 msgid "Creates dynamic columns for ``output`` stage. Only ``drilldowns[${LABEL}].limit`` records have these dynamic columns."
2127 msgstr "Creates dynamic columns for ``output`` stage. Only ``drilldowns[${LABEL}].limit`` records have these dynamic columns."
2128
2129 msgid "Evaluates :ref:`select-drilldowns-label-output-columns`. You can use dynamic columns created in ``initial`` stage, ``filtered`` stage, and ``output`` stage."
2130 msgstr "Evaluates :ref:`select-drilldowns-label-output-columns`. You can use dynamic columns created in ``initial`` stage, ``filtered`` stage, and ``output`` stage."
2131
2132 msgid "Here is a ``drilldowns[${LABEL}].columns[${NAME}].stage`` example. It creates ``is_popular`` column at ``initial`` stage. You can use ``is_popular`` in all parameters such as ``drilldowns[${LABEL}].filter`` and ``drilldowns[${LABEL}].output_columns``:"
2133 msgstr "Here is a ``drilldowns[${LABEL}].columns[${NAME}].stage`` example. It creates ``is_popular`` column at ``initial`` stage. You can use ``is_popular`` in all parameters such as ``drilldowns[${LABEL}].filter`` and ``drilldowns[${LABEL}].output_columns``:"
2134
2135 msgid "Output format for ``drilldowns[${LABEL}]`` style"
2136 msgstr "Output format for ``drilldowns[${LABEL}]`` style"
2137
2138 msgid "There is a difference in output format between :ref:`select-drilldown` and :ref:`select-drilldowns-label-keys`. :ref:`select-drilldown` uses array to output multiple drilldown results. :ref:`select-drilldowns-label-keys` uses pairs of label and drilldown result."
2139 msgstr "There is a difference in output format between :ref:`select-drilldown` and :ref:`select-drilldowns-label-keys`. :ref:`select-drilldown` uses array to output multiple drilldown results. :ref:`select-drilldowns-label-keys` uses pairs of label and drilldown result."
2140
2141 msgid ":ref:`select-drilldown` uses the following output format::"
2142 msgstr ":ref:`select-drilldown` uses the following output format::"
2143
2144 msgid ":ref:`select-drilldowns-label-keys` uses the following output format::"
2145 msgstr ":ref:`select-drilldowns-label-keys` uses the following output format::"
2146
2147 msgid "Slice related parameters"
2148 msgstr "Slice related parameters"
2149
2150 msgid "This section describes slice related parameters."
2151 msgstr "This section describes slice related parameters."
2152
2153 msgid "TODO"
2154 msgstr "TODO"
2155
2156 msgid "Here are parameters for slice:"
2157 msgstr "Here are parameters for slice:"
2158
2159 msgid "``--slices[${LABEL}].match_columns``"
2160 msgstr "``--slices[${LABEL}].match_columns``"
2161
2162 msgid "``--slices[${LABEL}].query``"
2163 msgstr "``--slices[${LABEL}].query``"
2164
2165 msgid "Required if ``--slices[${LABEL}].filter`` isn't specified."
2166 msgstr "Required if ``--slices[${LABEL}].filter`` isn't specified."
2167
2168 msgid "``--slices[${LABEL}].filter``"
2169 msgstr "``--slices[${LABEL}].filter``"
2170
2171 msgid "Required if ``--slices[${LABEL}].query`` isn't specified."
2172 msgstr "Required if ``--slices[${LABEL}].query`` isn't specified."
2173
2174 msgid "``--slices[${LABEL}].query_expander``"
2175 msgstr "``--slices[${LABEL}].query_expander``"
2176
2177 msgid "``--slices[${LABEL}].query_flags``"
2178 msgstr "``--slices[${LABEL}].query_flags``"
2179
2180 msgid "``--slices[${LABEL}].sort_keys``"
2181 msgstr "``--slices[${LABEL}].sort_keys``"
2182
2183 msgid "``--slices[${LABEL}].output_columns``"
2184 msgstr "``--slices[${LABEL}].output_columns``"
2185
2186 msgid "``--slices[${LABEL}].offset``"
2187 msgstr "``--slices[${LABEL}].offset``"
2188
2189 msgid "``--slices[${LABEL}].limit``"
2190 msgstr "``--slices[${LABEL}].limit``"
2191
2192 msgid "``slices[${LABEL}].match_columns``"
2193 msgstr "``slices[${LABEL}].match_columns``"
2194
2195 msgid "``slices[${LABEL}].query``"
2196 msgstr "``slices[${LABEL}].query``"
2197
2198 msgid "``slices[${LABEL}].filter``"
2199 msgstr "``slices[${LABEL}].filter``"
2200
2201 msgid "``slices[${LABEL}].query_expander``"
2202 msgstr "``slices[${LABEL}].query_expander``"
2203
2204 msgid "``slices[${LABEL}].query_flags``"
2205 msgstr "``slices[${LABEL}].query_flags``"
2206
2207 msgid "``slices[${LABEL}].sort_keys``"
2208 msgstr "``slices[${LABEL}].sort_keys``"
2209
2210 msgid "``slices[${LABEL}].output_columns``"
2211 msgstr "``slices[${LABEL}].output_columns``"
2212
2213 msgid "``slices[${LABEL}].offset``"
2214 msgstr "``slices[${LABEL}].offset``"
2215
2216 msgid "``slices[${LABEL}].limit``"
2217 msgstr "``slices[${LABEL}].limit``"
2218
2219 msgid "Cache related parameter"
2220 msgstr "Cache related parameter"
2221
2222 msgid "``cache``"
2223 msgstr "``cache``"
2224
2225 msgid "Specifies whether caching the result of this query or not."
2226 msgstr "Specifies whether caching the result of this query or not."
2227
2228 msgid "If the result of this query is cached, the next same query returns response quickly by using the cache."
2229 msgstr "If the result of this query is cached, the next same query returns response quickly by using the cache."
2230
2231 msgid "It doesn't control whether existing cached result is used or not."
2232 msgstr "It doesn't control whether existing cached result is used or not."
2233
2234 msgid "Don't cache the output of this query."
2235 msgstr "Don't cache the output of this query."
2236
2237 msgid "Cache the output of this query. It's the default value."
2238 msgstr "Cache the output of this query. It's the default value."
2239
2240 msgid "Here is an example to disable caching the result of this query:"
2241 msgstr "Here is an example to disable caching the result of this query:"
2242
2243 msgid "Score related parameters"
2244 msgstr "Score related parameters"
2245
2246 msgid "There is a score related parameter, ``adjuster``."
2247 msgstr "There is a score related parameter, ``adjuster``."
2248
2249 msgid "``adjuster``"
2250 msgstr "``adjuster``"
2251
2252 msgid "Specifies one or more score adjust expressions. You need to use ``adjuster`` with ``query`` or ``filter``. ``adjuster`` doesn't work with not searched request."
2253 msgstr "Specifies one or more score adjust expressions. You need to use ``adjuster`` with ``query`` or ``filter``. ``adjuster`` doesn't work with not searched request."
2254
2255 msgid "You can increase score of specific records by ``adjuster``. You can use ``adjuster`` to set high score for important records."
2256 msgstr "You can increase score of specific records by ``adjuster``. You can use ``adjuster`` to set high score for important records."
2257
2258 msgid "For example, you can use ``adjuster`` to increase score of records that have ``groonga`` tag."
2259 msgstr "For example, you can use ``adjuster`` to increase score of records that have ``groonga`` tag."
2260
2261 msgid "Here is the syntax::"
2262 msgstr "Here is the syntax::"
2263
2264 msgid "Here is the ``SCORE_ADJUST_EXPRESSION`` syntax::"
2265 msgstr "Here is the ``SCORE_ADJUST_EXPRESSION`` syntax::"
2266
2267 msgid "Note the following:"
2268 msgstr "Note the following:"
2269
2270 msgid "``COLUMN`` must be indexed."
2271 msgstr "``COLUMN`` must be indexed."
2272
2273 msgid "``\"KEYWORD\"`` must be a string."
2274 msgstr "``\"KEYWORD\"`` must be a string."
2275
2276 msgid "``FACTOR`` must be a positive integer."
2277 msgstr "``FACTOR`` must be a positive integer."
2278
2279 msgid "Here is a sample ``adjuster`` usage example that uses just one ``SCORE_ADJUST_EXPRESSION``:"
2280 msgstr "Here is a sample ``adjuster`` usage example that uses just one ``SCORE_ADJUST_EXPRESSION``:"
2281
2282 msgid "The ``select`` command matches all records. Then it applies ``adjuster``. The adjuster increases score of records that have ``\"groonga\"`` in ``Entries.content`` column by 5. There is only one record that has ``\"groonga\"`` in ``Entries.content`` column. So the record that its key is ``\"Groonga\"`` has score 6 (``= 1 + 5``)."
2283 msgstr "The ``select`` command matches all records. Then it applies ``adjuster``. The adjuster increases score of records that have ``\"groonga\"`` in ``Entries.content`` column by 5. There is only one record that has ``\"groonga\"`` in ``Entries.content`` column. So the record that its key is ``\"Groonga\"`` has score 6 (``= 1 + 5``)."
2284
2285 msgid "You can omit ``FACTOR``. If you omit ``FACTOR``, it is treated as 1."
2286 msgstr "You can omit ``FACTOR``. If you omit ``FACTOR``, it is treated as 1."
2287
2288 msgid "Here is a sample ``adjuster`` usage example that omits ``FACTOR``:"
2289 msgstr "Here is a sample ``adjuster`` usage example that omits ``FACTOR``:"
2290
2291 msgid "The ``adjuster`` in the ``select`` command doesn't have ``FACTOR``. So the factor is treated as 1. There is only one record that has ``\"groonga\"`` in ``Entries.content`` column. So the record that its key is ``\"Groonga\"`` has score 2 (``= 1 + 1``)."
2292 msgstr "The ``adjuster`` in the ``select`` command doesn't have ``FACTOR``. So the factor is treated as 1. There is only one record that has ``\"groonga\"`` in ``Entries.content`` column. So the record that its key is ``\"Groonga\"`` has score 2 (``= 1 + 1``)."
2293
2294 msgid "Here is a sample ``adjuster`` usage example that uses multiple ``SCORE_ADJUST_EXPRESSION``:"
2295 msgstr "Here is a sample ``adjuster`` usage example that uses multiple ``SCORE_ADJUST_EXPRESSION``:"
2296
2297 msgid "The ``adjuster`` in the ``select`` command has two ``SCORE_ADJUST_EXPRESSION`` s. The final increased score is sum of scores of these ``SCORE_ADJUST_EXPRESSION`` s. All ``SCORE_ADJUST_EXPRESSION`` s in the ``select`` command are applied to a record that its key is ``\"Groonga\"``. So the final increased score of the record is sum of scores of all ``SCORE_ADJUST_EXPRESSION`` s."
2298 msgstr "The ``adjuster`` in the ``select`` command has two ``SCORE_ADJUST_EXPRESSION`` s. The final increased score is sum of scores of these ``SCORE_ADJUST_EXPRESSION`` s. All ``SCORE_ADJUST_EXPRESSION`` s in the ``select`` command are applied to a record that its key is ``\"Groonga\"``. So the final increased score of the record is sum of scores of all ``SCORE_ADJUST_EXPRESSION`` s."
2299
2300 msgid "The first ``SCORE_ADJUST_EXPRESSION`` is ``content @ \"groonga\" * 5``. It increases score by 5."
2301 msgstr "The first ``SCORE_ADJUST_EXPRESSION`` is ``content @ \"groonga\" * 5``. It increases score by 5."
2302
2303 msgid "The second ``SCORE_ADJUST_EXPRESSION`` is ``content @ \"started\" * 3``. It increases score by 3."
2304 msgstr "The second ``SCORE_ADJUST_EXPRESSION`` is ``content @ \"started\" * 3``. It increases score by 3."
2305
2306 msgid "The final increased score is 9 (``= 1 + 5 + 3``)."
2307 msgstr "The final increased score is 9 (``= 1 + 5 + 3``)."
2308
2309 msgid "A ``SCORE_ADJUST_EXPRESSION`` has a factor for ``\"KEYWORD\"``. This means that increased scores of all records that has ``\"KEYWORD\"`` are the same value. You can change increase score for each record that has the same ``\"KEYWORD\"``. It is useful to tune search score. See :ref:`weight-vector-column` for details."
2310 msgstr "A ``SCORE_ADJUST_EXPRESSION`` has a factor for ``\"KEYWORD\"``. This means that increased scores of all records that has ``\"KEYWORD\"`` are the same value. You can change increase score for each record that has the same ``\"KEYWORD\"``. It is useful to tune search score. See :ref:`weight-vector-column` for details."
2311
2312 msgid "Return value"
2313 msgstr "Return value"
2314
2315 msgid "The command returns a response with the following format::"
2316 msgstr "The command returns a response with the following format::"
2317
2318 msgid "If the command fails, error details are in ``HEADER``."
2319 msgstr "If the command fails, error details are in ``HEADER``."
2320
2321 msgid "See :doc:`/reference/command/output_format` for ``HEADER``."
2322 msgstr "See :doc:`/reference/command/output_format` for ``HEADER``."
2323
2324 msgid "There are zero or more ``DRILLDOWN_RESULT``. If no ``drilldown`` and ``drilldowns[${LABEL}].keys`` are specified, they are omitted like the following::"
2325 msgstr "There are zero or more ``DRILLDOWN_RESULT``. If no ``drilldown`` and ``drilldowns[${LABEL}].keys`` are specified, they are omitted like the following::"
2326
2327 msgid "If ``drilldown`` has two or more keys like ``--drilldown \"_key, column1, column2\"``, multiple ``DRILLDOWN_RESULT`` exist::"
2328 msgstr "If ``drilldown`` has two or more keys like ``--drilldown \"_key, column1, column2\"``, multiple ``DRILLDOWN_RESULT`` exist::"
2329
2330 msgid "If ``drilldowns[${LABEL}].keys`` is used, only one ``DRILLDOWN_RESULT`` exist::"
2331 msgstr "If ``drilldowns[${LABEL}].keys`` is used, only one ``DRILLDOWN_RESULT`` exist::"
2332
2333 msgid "``DRILLDOWN_RESULT`` format is different between ``drilldown`` and ``drilldowns[${LABEL}].keys``. It's described later."
2334 msgstr "``DRILLDOWN_RESULT`` format is different between ``drilldown`` and ``drilldowns[${LABEL}].keys``. It's described later."
2335
2336 msgid "``SEARCH_RESULT`` is the following format::"
2337 msgstr "``SEARCH_RESULT`` is the following format::"
2338
2339 msgid "See :ref:`select-simple-usage` for concrete example of the format."
2340 msgstr "See :ref:`select-simple-usage` for concrete example of the format."
2341
2342 msgid "``N_HITS`` is the number of matched records before :ref:`select-limit` is applied."
2343 msgstr "``N_HITS`` is the number of matched records before :ref:`select-limit` is applied."
2344
2345 msgid "``COLUMNS`` describes about output columns specified by :ref:`select-output-columns`. It uses the following format::"
2346 msgstr "``COLUMNS`` describes about output columns specified by :ref:`select-output-columns`. It uses the following format::"
2347
2348 msgid "``COLUMNS`` includes one or more output column information. Each output column information includes the followings:"
2349 msgstr "``COLUMNS`` includes one or more output column information. Each output column information includes the followings:"
2350
2351 msgid "Column name as string"
2352 msgstr "Column name as string"
2353
2354 msgid "Column type as string or ``null``"
2355 msgstr "Column type as string or ``null``"
2356
2357 msgid "Column name is extracted from value specified as :ref:`select-output-columns`."
2358 msgstr "Column name is extracted from value specified as :ref:`select-output-columns`."
2359
2360 msgid "Column type is Groonga's type name or ``null``. It doesn't describe whether the column value is vector or scalar. You need to determine it by whether real column value is array or not."
2361 msgstr "Column type is Groonga's type name or ``null``. It doesn't describe whether the column value is vector or scalar. You need to determine it by whether real column value is array or not."
2362
2363 msgid "See :doc:`/reference/types` for type details."
2364 msgstr "See :doc:`/reference/types` for type details."
2365
2366 msgid "``null`` is used when column value type isn't determined. For example, function call in :ref:`select-output-columns` such as ``--output_columns \"snippet_html(content)\"`` uses ``null``."
2367 msgstr "``null`` is used when column value type isn't determined. For example, function call in :ref:`select-output-columns` such as ``--output_columns \"snippet_html(content)\"`` uses ``null``."
2368
2369 msgid "Here is an example of ``COLUMNS``::"
2370 msgstr "Here is an example of ``COLUMNS``::"
2371
2372 msgid "``RECORDS`` includes column values for each matched record. Included records are selected by :ref:`select-offset` and :ref:`select-limit`. It uses the following format::"
2373 msgstr "``RECORDS`` includes column values for each matched record. Included records are selected by :ref:`select-offset` and :ref:`select-limit`. It uses the following format::"
2374
2375 msgid "Here is an example ``RECORDS``::"
2376 msgstr "Here is an example ``RECORDS``::"
2377
2378 msgid "``DRILLDOWN_RESULT`` format is different between ``drilldown`` and ``drilldowns[${LABEL}].keys``."
2379 msgstr "``DRILLDOWN_RESULT`` format is different between ``drilldown`` and ``drilldowns[${LABEL}].keys``."
2380
2381 msgid "``drilldown`` uses the same format as ``SEARCH_RESULT``::"
2382 msgstr "``drilldown`` uses the same format as ``SEARCH_RESULT``::"
2383
2384 msgid "And ``drilldown`` generates one or more ``DRILLDOWN_RESULT`` when :ref:`select-drilldown` has one ore more keys."
2385 msgstr "And ``drilldown`` generates one or more ``DRILLDOWN_RESULT`` when :ref:`select-drilldown` has one ore more keys."
2386
2387 msgid "``drilldowns[${LABEL}].keys`` uses the following format. Multiple ``drilldowns[${LABEL}].keys`` are mapped to one object (key-value pairs)::"
2388 msgstr "``drilldowns[${LABEL}].keys`` uses the following format. Multiple ``drilldowns[${LABEL}].keys`` are mapped to one object (key-value pairs)::"
2389
2390 msgid "Each ``drilldowns[${LABEL}].keys`` corresponds to the following::"
2391 msgstr "Each ``drilldowns[${LABEL}].keys`` corresponds to the following::"
2392
2393 msgid "The following value part is the same format as ``SEARCH_RESULT``::"
2394 msgstr "The following value part is the same format as ``SEARCH_RESULT``::"
2395
2396 msgid "See also :ref:`select-drilldowns-label-output-format` for ``drilldowns[${LABEL}]`` style drilldown output format."
2397 msgstr "See also :ref:`select-drilldowns-label-output-format` for ``drilldowns[${LABEL}]`` style drilldown output format."
2398
2399 msgid "See also"
2400 msgstr "See also"
2401
2402 msgid ":doc:`/reference/grn_expr/query_syntax`"
2403 msgstr ":doc:`/reference/grn_expr/query_syntax`"
2404
2405 msgid ":doc:`/reference/grn_expr/script_syntax`"
2406 msgstr ":doc:`/reference/grn_expr/script_syntax`"