Debian Codegraph @

doc/locale/en/LC_MESSAGES/tutorial/introduction.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 "Basic operations"
21 msgstr "Basic operations"
22
23 msgid "A Groonga package provides a C library (libgroonga) and a command line tool (groonga). This tutorial explains how to use the command line tool, with which you can create/operate databases, start a server, establish a connection with a server, etc."
24 msgstr "A Groonga package provides a C library (libgroonga) and a command line tool (groonga). This tutorial explains how to use the command line tool, with which you can create/operate databases, start a server, establish a connection with a server, etc."
25
26 msgid "Create a database"
27 msgstr "Create a database"
28
29 msgid "The first step to using Groonga is to create a new database. The following shows how to do it."
30 msgstr "The first step to using Groonga is to create a new database. The following shows how to do it."
31
32 msgid "Form::"
33 msgstr "Form::"
34
35 msgid "The ``-n`` option specifies to create a new database and DB_PATH specifies the path of the new database. Actually, a database consists of a series of files and DB_PATH specifies the file which will be the entrance to the new database. DB_PATH also specifies the path prefix for other files. Note that database creation fails if DB_PATH points to an existing file (For example, ``db open failed (DB_PATH): syscall error 'DB_PATH' (File exists)``. You can operate an existing database in a way that is in the next chapter)."
36 msgstr "The ``-n`` option specifies to create a new database and DB_PATH specifies the path of the new database. Actually, a database consists of a series of files and DB_PATH specifies the file which will be the entrance to the new database. DB_PATH also specifies the path prefix for other files. Note that database creation fails if DB_PATH points to an existing file (For example, ``db open failed (DB_PATH): syscall error 'DB_PATH' (File exists)``. You can operate an existing database in a way that is in the next chapter)."
37
38 msgid "This command creates a new database and then enters into interactive mode in which Groonga prompts you to enter commands for operating that database. You can terminate this mode with Ctrl-d."
39 msgstr "This command creates a new database and then enters into interactive mode in which Groonga prompts you to enter commands for operating that database. You can terminate this mode with Ctrl-d."
40
41 msgid "Execution example::"
42 msgstr "Execution example::"
43
44 msgid "After this database creation, you can find a series of files in /tmp/groonga-databases."
45 msgstr "After this database creation, you can find a series of files in /tmp/groonga-databases."
46
47 msgid "Operate a database"
48 msgstr "Operate a database"
49
50 msgid "The following shows how to operate an existing database."
51 msgstr "The following shows how to operate an existing database."
52
53 msgid "DB_PATH specifies the path of a target database. This command fails if the specified database does not exist."
54 msgstr "DB_PATH specifies the path of a target database. This command fails if the specified database does not exist."
55
56 msgid "If COMMAND is specified, Groonga executes COMMAND and returns the result. Otherwise, Groonga starts in interactive mode that reads commands from the standard input and executes them one by one. This tutorial focuses on the interactive mode."
57 msgstr "If COMMAND is specified, Groonga executes COMMAND and returns the result. Otherwise, Groonga starts in interactive mode that reads commands from the standard input and executes them one by one. This tutorial focuses on the interactive mode."
58
59 msgid "Let's see the status of a Groonga process by using a :doc:`/reference/commands/status` command."
60 msgstr "Let's see the status of a Groonga process by using a :doc:`/reference/commands/status` command."
61
62 msgid "As shown in the above example, a command returns a JSON array. The first element contains an error code, execution time, etc. The second element is the result of an operation."
63 msgstr "As shown in the above example, a command returns a JSON array. The first element contains an error code, execution time, etc. The second element is the result of an operation."
64
65 msgid "You can format a JSON using additional tools. For example, `grnwrap <https://github.com/michisu/grnwrap>`_, `Grnline <https://github.com/yoshihara/grnline>`_, `jq <http://stedolan.github.io/jq/>`_ and so on."
66 msgstr "You can format a JSON using additional tools. For example, `grnwrap <https://github.com/michisu/grnwrap>`_, `Grnline <https://github.com/yoshihara/grnline>`_, `jq <http://stedolan.github.io/jq/>`_ and so on."
67
68 msgid "Command format"
69 msgstr "Command format"
70
71 msgid "Commands for operating a database accept arguments as follows::"
72 msgstr "Commands for operating a database accept arguments as follows::"
73
74 msgid "In the first form, arguments must be passed in order. This kind of arguments are called positional arguments because the position of each argument determines its meaning."
75 msgstr "In the first form, arguments must be passed in order. This kind of arguments are called positional arguments because the position of each argument determines its meaning."
76
77 msgid "In the second form, you can specify a parameter name with its value. So, the order of arguments is not defined. This kind of arguments are known as named parameters or keyword arguments."
78 msgstr "In the second form, you can specify a parameter name with its value. So, the order of arguments is not defined. This kind of arguments are known as named parameters or keyword arguments."
79
80 msgid "If you want to specify a value which contains white-spaces or special characters, such as quotes and parentheses, please enclose the value with single-quotes or double-quotes."
81 msgstr "If you want to specify a value which contains white-spaces or special characters, such as quotes and parentheses, please enclose the value with single-quotes or double-quotes."
82
83 msgid "For details, see also the paragraph of \"command\" in :doc:`/reference/executables/groonga`."
84 msgstr "For details, see also the paragraph of \"command\" in :doc:`/reference/executables/groonga`."
85
86 msgid "Basic commands"
87 msgstr "Basic commands"
88
89 msgid ":doc:`/reference/commands/status`"
90 msgstr ":doc:`/reference/commands/status`"
91
92 msgid "shows status of a Groonga process."
93 msgstr "shows status of a Groonga process."
94
95 msgid ":doc:`/reference/commands/table_list`"
96 msgstr ":doc:`/reference/commands/table_list`"
97
98 msgid "shows a list of tables in a database."
99 msgstr "shows a list of tables in a database."
100
101 msgid ":doc:`/reference/commands/column_list`"
102 msgstr ":doc:`/reference/commands/column_list`"
103
104 msgid "shows a list of columns in a table."
105 msgstr "shows a list of columns in a table."
106
107 msgid ":doc:`/reference/commands/table_create`"
108 msgstr ":doc:`/reference/commands/table_create`"
109
110 msgid "adds a table to a database."
111 msgstr "adds a table to a database."
112
113 msgid ":doc:`/reference/commands/column_create`"
114 msgstr ":doc:`/reference/commands/column_create`"
115
116 msgid "adds a column to a table."
117 msgstr "adds a column to a table."
118
119 msgid ":doc:`/reference/commands/select`"
120 msgstr ":doc:`/reference/commands/select`"
121
122 msgid "searches records from a table and shows the result."
123 msgstr "searches records from a table and shows the result."
124
125 msgid ":doc:`/reference/commands/load`"
126 msgstr ":doc:`/reference/commands/load`"
127
128 msgid "inserts records to a table."
129 msgstr "inserts records to a table."
130
131 msgid "Create a table"
132 msgstr "Create a table"
133
134 msgid "A :doc:`/reference/commands/table_create` command creates a new table."
135 msgstr "A :doc:`/reference/commands/table_create` command creates a new table."
136
137 msgid "In most cases, a table has a primary key which must be specified with its data type and index type."
138 msgstr "In most cases, a table has a primary key which must be specified with its data type and index type."
139
140 msgid "There are various data types such as integers, strings, etc. See also :doc:`/reference/types` for more details. The index type determines the search performance and the availability of prefix searches. The details will be described later."
141 msgstr "There are various data types such as integers, strings, etc. See also :doc:`/reference/types` for more details. The index type determines the search performance and the availability of prefix searches. The details will be described later."
142
143 msgid "Let's create a table. The following example creates a table with a primary key. The ``name`` parameter specifies the name of the table. The ``flags`` parameter specifies the index type for the primary key. The ``key_type`` parameter specifies the data type of the primary key."
144 msgstr "Let's create a table. The following example creates a table with a primary key. The ``name`` parameter specifies the name of the table. The ``flags`` parameter specifies the index type for the primary key. The ``key_type`` parameter specifies the data type of the primary key."
145
146 msgid "The second element of the result indicates that the operation succeeded."
147 msgstr "The second element of the result indicates that the operation succeeded."
148
149 msgid "View a table"
150 msgstr "View a table"
151
152 msgid "A :doc:`/reference/commands/select` command can enumerate records in a table."
153 msgstr "A :doc:`/reference/commands/select` command can enumerate records in a table."
154
155 msgid "When only a table name is specified with a ``table`` parameter, a :doc:`/reference/commands/select` command returns the first (at most) 10 records in the table. [0] in the result shows the number of records in the table. The next array is a list of columns. [\"_id\",\"Uint32\"] is a column of UInt32, named _id. [\"_key\",\"ShortText\"] is a column of ShortText, named _key."
156 msgstr "When only a table name is specified with a ``table`` parameter, a :doc:`/reference/commands/select` command returns the first (at most) 10 records in the table. [0] in the result shows the number of records in the table. The next array is a list of columns. [\"_id\",\"Uint32\"] is a column of UInt32, named _id. [\"_key\",\"ShortText\"] is a column of ShortText, named _key."
157
158 msgid "The above two columns, _id and _key, are the necessary columns. The _id column stores IDs those are automatically allocated by Groonga. The _key column is associated with the primary key. You are not allowed to rename these columns."
159 msgstr "The above two columns, _id and _key, are the necessary columns. The _id column stores IDs those are automatically allocated by Groonga. The _key column is associated with the primary key. You are not allowed to rename these columns."
160
161 msgid "Create a column"
162 msgstr "Create a column"
163
164 msgid "A :doc:`/reference/commands/column_create` command creates a new column."
165 msgstr "A :doc:`/reference/commands/column_create` command creates a new column."
166
167 msgid "Let's add a column. The following example adds a column to the Site table. The ``table`` parameter specifies the target table. The ``name`` parameter specifies the name of the column. The ``type`` parameter specifies the data type of the column."
168 msgstr "Let's add a column. The following example adds a column to the Site table. The ``table`` parameter specifies the target table. The ``name`` parameter specifies the name of the column. The ``type`` parameter specifies the data type of the column."
169
170 msgid "Load records"
171 msgstr "Load records"
172
173 msgid "A :doc:`/reference/commands/load` command loads JSON-formatted records into a table."
174 msgstr "A :doc:`/reference/commands/load` command loads JSON-formatted records into a table."
175
176 msgid "The following example loads nine records into the Site table."
177 msgstr "The following example loads nine records into the Site table."
178
179 msgid "The second element of the result indicates how many records were successfully loaded. In this case, all the records are successfully loaded."
180 msgstr "The second element of the result indicates how many records were successfully loaded. In this case, all the records are successfully loaded."
181
182 msgid "Let's make sure that these records are correctly stored."
183 msgstr "Let's make sure that these records are correctly stored."
184
185 msgid "Get a record"
186 msgstr "Get a record"
187
188 msgid "A :doc:`/reference/commands/select` command can search records in a table."
189 msgstr "A :doc:`/reference/commands/select` command can search records in a table."
190
191 msgid "If a search condition is specified with a ``query`` parameter, a :doc:`/reference/commands/select` command searches records matching the search condition and returns the matched records."
192 msgstr "If a search condition is specified with a ``query`` parameter, a :doc:`/reference/commands/select` command searches records matching the search condition and returns the matched records."
193
194 msgid "Let's get a record having a specified record ID. The following example gets the first record in the Site table. More precisely, the ``query`` parameter specifies a record whose _id column stores 1."
195 msgstr "Let's get a record having a specified record ID. The following example gets the first record in the Site table. More precisely, the ``query`` parameter specifies a record whose _id column stores 1."
196
197 msgid "Next, let's get a record having a specified key. The following example gets the record whose primary key is \"http://example.org/\". More precisely, the ``query`` parameter specifies a record whose _key column stores \"http://example.org/\"."
198 msgstr "Next, let's get a record having a specified key. The following example gets the record whose primary key is \"http://example.org/\". More precisely, the ``query`` parameter specifies a record whose _key column stores \"http://example.org/\"."
199
200 msgid "Create a lexicon table for full text search"
201 msgstr "Create a lexicon table for full text search"
202
203 msgid "Let's go on to how to make full text search."
204 msgstr "Let's go on to how to make full text search."
205
206 msgid "Groonga uses an inverted index to provide fast full text search. So, the first step is to create a lexicon table which stores an inverted index, also known as postings lists. The primary key of this table is associated with a vocabulary made up of index terms and each record stores postings lists for one index term."
207 msgstr "Groonga uses an inverted index to provide fast full text search. So, the first step is to create a lexicon table which stores an inverted index, also known as postings lists. The primary key of this table is associated with a vocabulary made up of index terms and each record stores postings lists for one index term."
208
209 msgid "The following shows a command which creates a lexicon table named Terms. The data type of its primary key is ShortText."
210 msgstr "The following shows a command which creates a lexicon table named Terms. The data type of its primary key is ShortText."
211
212 msgid "The :doc:`/reference/commands/table_create` command takes many parameters but you don't need to understand all of them. Please skip the next paragraph if you are not interested in how it works."
213 msgstr "The :doc:`/reference/commands/table_create` command takes many parameters but you don't need to understand all of them. Please skip the next paragraph if you are not interested in how it works."
214
215 msgid "The TABLE_PAT_KEY flag specifies to store index terms in a patricia trie. The ``default_tokenizer`` parameter specifies the method for tokenizing text. This example uses TokenBigram that is generally called N-gram."
216 msgstr "The TABLE_PAT_KEY flag specifies to store index terms in a patricia trie. The ``default_tokenizer`` parameter specifies the method for tokenizing text. This example uses TokenBigram that is generally called N-gram."
217
218 msgid "The ``normalizer`` parameter specifies to normalize index terms."
219 msgstr "The ``normalizer`` parameter specifies to normalize index terms."
220
221 msgid "Create an index column for full text search"
222 msgstr "Create an index column for full text search"
223
224 msgid "The second step is to create an index column, which allows you to search records from its associated column. That is to say this step specifies which column needs an index."
225 msgstr "The second step is to create an index column, which allows you to search records from its associated column. That is to say this step specifies which column needs an index."
226
227 msgid "Let's create an index column. The following example creates an index column for a column in the Site table."
228 msgstr "Let's create an index column. The following example creates an index column for a column in the Site table."
229
230 msgid "The ``table`` parameter specifies the index table and the ``name`` parameter specifies the index column. The ``type`` parameter specifies the target table and the ``source`` parameter specifies the target column. The COLUMN_INDEX flag specifies to create an index column and the WITH_POSITION flag specifies to create a full inverted index, which contains the positions of each index term. This combination, COLUMN_INDEX|WITH_POSITION, is recommended for the general purpose."
231 msgstr "The ``table`` parameter specifies the index table and the ``name`` parameter specifies the index column. The ``type`` parameter specifies the target table and the ``source`` parameter specifies the target column. The COLUMN_INDEX flag specifies to create an index column and the WITH_POSITION flag specifies to create a full inverted index, which contains the positions of each index term. This combination, COLUMN_INDEX|WITH_POSITION, is recommended for the general purpose."
232
233 msgid "You can create a lexicon table and index columns before/during/after loading records. If a target column already has records, Groonga creates an inverted index in a static manner. In contrast, if you load records into an already indexed column, Groonga updates the inverted index in a dynamic manner."
234 msgstr "You can create a lexicon table and index columns before/during/after loading records. If a target column already has records, Groonga creates an inverted index in a static manner. In contrast, if you load records into an already indexed column, Groonga updates the inverted index in a dynamic manner."
235
236 msgid "Full text search"
237 msgstr "Full text search"
238
239 msgid "It's time. You can make full text search with a :doc:`/reference/commands/select` command."
240 msgstr "It's time. You can make full text search with a :doc:`/reference/commands/select` command."
241
242 msgid "A query for full text search is specified with a ``query`` parameter. The following example searches records whose \"title\" column contains \"this\". The '@' specifies to make full text search. Note that a lower case query matches upper case and capitalized terms in a record if NormalizerAuto was specified when creating a lexcon table."
243 msgstr "A query for full text search is specified with a ``query`` parameter. The following example searches records whose \"title\" column contains \"this\". The '@' specifies to make full text search. Note that a lower case query matches upper case and capitalized terms in a record if NormalizerAuto was specified when creating a lexcon table."
244
245 msgid "In this example, the first record matches the query because its title contains \"This\", that is the capitalized form of the query."
246 msgstr "In this example, the first record matches the query because its title contains \"This\", that is the capitalized form of the query."
247
248 msgid "A :doc:`/reference/commands/select` command accepts an optional parameter, named `match_columns`, that specifies the default target columns. This parameter is used if target columns are not specified in a query. [#]_"
249 msgstr "A :doc:`/reference/commands/select` command accepts an optional parameter, named `match_columns`, that specifies the default target columns. This parameter is used if target columns are not specified in a query. [#]_"
250
251 msgid "The combination of \"`--match_columns` title\" and \"`--query` this\" brings you the same result that \"`--query` title:@this\" does."
252 msgstr "The combination of \"`--match_columns` title\" and \"`--query` this\" brings you the same result that \"`--query` title:@this\" does."
253
254 msgid "Specify output columns"
255 msgstr "Specify output columns"
256
257 msgid "An ``output_columns`` parameter of a :doc:`/reference/commands/select` command specifies columns to appear in the search result. If you want to specify more than one columns, please separate column names by commas (',')."
258 msgstr "An ``output_columns`` parameter of a :doc:`/reference/commands/select` command specifies columns to appear in the search result. If you want to specify more than one columns, please separate column names by commas (',')."
259
260 msgid "This example specifies three output columns including the _score column, which stores the relevance score of each record."
261 msgstr "This example specifies three output columns including the _score column, which stores the relevance score of each record."
262
263 msgid "Specify output ranges"
264 msgstr "Specify output ranges"
265
266 msgid "A :doc:`/reference/commands/select` command returns a part of its search result if ``offset`` and/or ``limit`` parameters are specified. These parameters are useful to paginate a search result, a widely-used interface which shows a search result on a page by page basis."
267 msgstr "A :doc:`/reference/commands/select` command returns a part of its search result if ``offset`` and/or ``limit`` parameters are specified. These parameters are useful to paginate a search result, a widely-used interface which shows a search result on a page by page basis."
268
269 msgid "An ``offset`` parameter specifies the starting point and a ``limit`` parameter specifies the maximum number of records to be returned. If you need the first record in a search result, the offset parameter must be 0 or omitted."
270 msgstr "An ``offset`` parameter specifies the starting point and a ``limit`` parameter specifies the maximum number of records to be returned. If you need the first record in a search result, the offset parameter must be 0 or omitted."
271
272 msgid "Sort a search result"
273 msgstr "Sort a search result"
274
275 msgid "A :doc:`/reference/commands/select` command sorts its result when used with a ``sort_keys`` parameter."
276 msgstr "A :doc:`/reference/commands/select` command sorts its result when used with a ``sort_keys`` parameter."
277
278 msgid "A ``sort_keys`` parameter specifies a column as a sorting criteria. A search result is arranged in ascending order of the column values. If you want to sort a search result in reverse order, please add a leading hyphen ('-') to the column name in a parameter."
279 msgstr "A ``sort_keys`` parameter specifies a column as a sorting criteria. A search result is arranged in ascending order of the column values. If you want to sort a search result in reverse order, please add a leading hyphen ('-') to the column name in a parameter."
280
281 msgid "The following example shows records in the Site table in reverse order."
282 msgstr "The following example shows records in the Site table in reverse order."
283
284 msgid "The next example uses the _score column as the sorting criteria for ranking the search result. The result is sorted in relevance order."
285 msgstr "The next example uses the _score column as the sorting criteria for ranking the search result. The result is sorted in relevance order."
286
287 msgid "If you want to specify more than one columns, please separate column names by commas (','). In such a case, a search result is sorted in order of the values in the first column, and then records having the same values in the first column are sorted in order of the second column values."
288 msgstr "If you want to specify more than one columns, please separate column names by commas (','). In such a case, a search result is sorted in order of the values in the first column, and then records having the same values in the first column are sorted in order of the second column values."
289
290 msgid "footnote"
291 msgstr "footnote"
292
293 msgid "Currently, a ``match_columns`` parameter is available iff there exists an inverted index for full text search. A ``match_columns`` parameter for a regular column is not supported."
294 msgstr "Currently, a ``match_columns`` parameter is available iff there exists an inverted index for full text search. A ``match_columns`` parameter for a regular column is not supported."