Debian Codegraph @

doc/locale/en/LC_MESSAGES/reference/executables/groonga-httpd.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 "groonga-httpd"
21 msgstr "groonga-httpd"
22
23 msgid "groonga-httpd has been extracted as `groonga-nginx <https://github.com/groonga/groonga-nginx>`_ since Groonga 13.0.3."
24 msgstr "groonga-httpd has been extracted as `groonga-nginx <https://github.com/groonga/groonga-nginx>`_ since Groonga 13.0.3."
25
26 msgid "Summary"
27 msgstr "Summary"
28
29 msgid "groonga-httpd is a program to communicate with a Groonga server using the HTTP protocol. It functions as same as :doc:`groonga-server-http`. Although :doc:`groonga-server-http` has limited support for HTTP with a minimal built-in HTTP server, groonga-httpd has full support for HTTP with an embedded `nginx <http://nginx.org/>`_. All standards-compliance and features provided by nginx is also available in groonga-httpd."
30 msgstr "groonga-httpd is a program to communicate with a Groonga server using the HTTP protocol. It functions as same as :doc:`groonga-server-http`. Although :doc:`groonga-server-http` has limited support for HTTP with a minimal built-in HTTP server, groonga-httpd has full support for HTTP with an embedded `nginx <http://nginx.org/>`_. All standards-compliance and features provided by nginx is also available in groonga-httpd."
31
32 msgid "groonga-httpd has an Web-based administration tool implemented with HTML and JavaScript. You can access to it from http://hostname:port/."
33 msgstr "groonga-httpd has an Web-based administration tool implemented with HTML and JavaScript. You can access to it from http://hostname:port/."
34
35 msgid "Syntax"
36 msgstr "Syntax"
37
38 msgid "Usage"
39 msgstr "Usage"
40
41 msgid "Set up"
42 msgstr "Set up"
43
44 msgid "First, you'll need to edit the groonga-httpd configuration file to specify a database. Edit /etc/groonga/httpd/groonga-httpd.conf to enable the ``groonga_database`` directive like this::"
45 msgstr "First, you'll need to edit the groonga-httpd configuration file to specify a database. Edit /etc/groonga/httpd/groonga-httpd.conf to enable the ``groonga_database`` directive like this::"
46
47 msgid "Then, run groonga-httpd. Note that the control immediately returns back to the console because groonga-httpd runs as a daemon process by default.::"
48 msgstr "Then, run groonga-httpd. Note that the control immediately returns back to the console because groonga-httpd runs as a daemon process by default.::"
49
50 msgid "Request queries"
51 msgstr "Request queries"
52
53 msgid "To check, request a simple query (:doc:`/reference/commands/status`)."
54 msgstr "To check, request a simple query (:doc:`/reference/commands/status`)."
55
56 msgid "Execution example::"
57 msgstr "Execution example::"
58
59 msgid "Loading data by POST"
60 msgstr "Loading data by POST"
61
62 msgid "You can load data by POST JSON data."
63 msgstr "You can load data by POST JSON data."
64
65 msgid "Here is an example ``curl`` command line that loads two users ``alice`` and ``bob`` to ``Users`` table::"
66 msgstr "Here is an example ``curl`` command line that loads two users ``alice`` and ``bob`` to ``Users`` table::"
67
68 msgid "If you loads users from JSON file, prepare JSON file like this::"
69 msgstr "If you loads users from JSON file, prepare JSON file like this::"
70
71 msgid "Then specify JSON file in ``curl`` command line::"
72 msgstr "Then specify JSON file in ``curl`` command line::"
73
74 msgid "Browse the administration tool"
75 msgstr "Browse the administration tool"
76
77 msgid "Also, you can browse Web-based administration tool at http://localhost:10041/."
78 msgstr "Also, you can browse Web-based administration tool at http://localhost:10041/."
79
80 msgid "Shut down"
81 msgstr "Shut down"
82
83 msgid "Finally, to terminate the running groonga-httpd daemon, run this::"
84 msgstr "Finally, to terminate the running groonga-httpd daemon, run this::"
85
86 msgid "Configuration directives"
87 msgstr "Configuration directives"
88
89 msgid "This section describes only important directives. They are groonga-httpd specific directives and performance related directives."
90 msgstr "This section describes only important directives. They are groonga-httpd specific directives and performance related directives."
91
92 msgid "The following directives can be used in the groonga-httpd configuration file. By default, it's located at /etc/groonga/httpd/groonga-httpd.conf."
93 msgstr "The following directives can be used in the groonga-httpd configuration file. By default, it's located at /etc/groonga/httpd/groonga-httpd.conf."
94
95 msgid "Groonga-httpd specific directives"
96 msgstr "Groonga-httpd specific directives"
97
98 msgid "The following directives aren't provided by nginx. They are provided by groonga-httpd to configure groonga-httpd specific configurations."
99 msgstr "The following directives aren't provided by nginx. They are provided by groonga-httpd to configure groonga-httpd specific configurations."
100
101 msgid "``groonga``"
102 msgstr "``groonga``"
103
104 msgid "Syntax::"
105 msgstr "Syntax::"
106
107 msgid "Default"
108 msgstr "Default"
109
110 msgid "``groonga off;``"
111 msgstr "``groonga off;``"
112
113 msgid "Context"
114 msgstr "Context"
115
116 msgid "``location``"
117 msgstr "``location``"
118
119 msgid "Specifies whether Groonga is enabled in the ``location`` block. The default is ``off``. You need to specify ``on`` to enable groonga."
120 msgstr "Specifies whether Groonga is enabled in the ``location`` block. The default is ``off``. You need to specify ``on`` to enable groonga."
121
122 msgid "Examples::"
123 msgstr "Examples::"
124
125 msgid "``groonga_database``"
126 msgstr "``groonga_database``"
127
128 msgid "``groonga_database /usr/local/var/lib/groonga/db/db;``"
129 msgstr "``groonga_database /usr/local/var/lib/groonga/db/db;``"
130
131 msgid "``http``, ``server``, ``location``"
132 msgstr "``http``, ``server``, ``location``"
133
134 msgid "Specifies the path to a Groonga database. This is the required directive."
135 msgstr "Specifies the path to a Groonga database. This is the required directive."
136
137 msgid "``groonga_database_auto_create``"
138 msgstr "``groonga_database_auto_create``"
139
140 msgid "``groonga_database_auto_create on;``"
141 msgstr "``groonga_database_auto_create on;``"
142
143 msgid "Specifies whether Groonga database is created automatically or not. If the value is ``on`` and the Groonga database specified by :ref:`groonga-httpd-groonga-database` doesn't exist, the Groonga database is created automatically. If the Groonga database exists, groonga-httpd does nothing."
144 msgstr "Specifies whether Groonga database is created automatically or not. If the value is ``on`` and the Groonga database specified by :ref:`groonga-httpd-groonga-database` doesn't exist, the Groonga database is created automatically. If the Groonga database exists, groonga-httpd does nothing."
145
146 msgid "If parent directory doesn't exist, parent directory is also created recursively."
147 msgstr "If parent directory doesn't exist, parent directory is also created recursively."
148
149 msgid "The default value is ``on``. Normally, the value doesn't need to be changed."
150 msgstr "The default value is ``on``. Normally, the value doesn't need to be changed."
151
152 msgid "``groonga_base_path``"
153 msgstr "``groonga_base_path``"
154
155 msgid "The same value as ``location`` name."
156 msgstr "The same value as ``location`` name."
157
158 msgid "Specifies the base path in URI. Groonga uses ``/d/command?parameter1=value1&...`` path to run ``command``. The form of path in used in groonga-httpd but groonga-httpd also supports ``/other-prefix/command?parameter1=value1&...`` form. To support the form, groonga-httpd removes the base path from the head of request URI and prepend ``/d/`` to the processed request URI. By the path conversion, users can use custom path prefix and Groonga can always uses ``/d/command?parameter1=value1&...`` form."
159 msgstr "Specifies the base path in URI. Groonga uses ``/d/command?parameter1=value1&...`` path to run ``command``. The form of path in used in groonga-httpd but groonga-httpd also supports ``/other-prefix/command?parameter1=value1&...`` form. To support the form, groonga-httpd removes the base path from the head of request URI and prepend ``/d/`` to the processed request URI. By the path conversion, users can use custom path prefix and Groonga can always uses ``/d/command?parameter1=value1&...`` form."
160
161 msgid "Normally, this directive isn't needed. It is needed for per command configuration."
162 msgstr "Normally, this directive isn't needed. It is needed for per command configuration."
163
164 msgid "Here is an example configuration to add authorization to :doc:`/reference/commands/shutdown` command::"
165 msgstr "Here is an example configuration to add authorization to :doc:`/reference/commands/shutdown` command::"
166
167 msgid "``groonga_log_path``"
168 msgstr "``groonga_log_path``"
169
170 msgid "``/var/log/groonga/httpd/groonga.log``"
171 msgstr "``/var/log/groonga/httpd/groonga.log``"
172
173 msgid "Specifies Groonga log path in the ``http``, ``server`` or ``location`` block. The default is ``/var/log/groonga/httpd/groonga.log``. You can disable logging to specify ``off``."
174 msgstr "Specifies Groonga log path in the ``http``, ``server`` or ``location`` block. The default is ``/var/log/groonga/httpd/groonga.log``. You can disable logging to specify ``off``."
175
176 msgid "``groonga_log_level``"
177 msgstr "``groonga_log_level``"
178
179 msgid "``notice``"
180 msgstr "``notice``"
181
182 msgid "Specifies Groonga log level in the ``http``, ``server`` or ``location`` block. The default is ``notice``. You can disable logging by specifying ``none`` as log level."
183 msgstr "Specifies Groonga log level in the ``http``, ``server`` or ``location`` block. The default is ``notice``. You can disable logging by specifying ``none`` as log level."
184
185 msgid "``groonga_query_log_path``"
186 msgstr "``groonga_query_log_path``"
187
188 msgid "``/var/log/groonga/httpd/groonga-query.log``"
189 msgstr "``/var/log/groonga/httpd/groonga-query.log``"
190
191 msgid "Specifies Groonga's query log path in the ``http``, ``server`` or ``location`` block. The default is ``/var/log/groonga/httpd/groonga-query.log``. You can disable logging to specify ``off``."
192 msgstr "Specifies Groonga's query log path in the ``http``, ``server`` or ``location`` block. The default is ``/var/log/groonga/httpd/groonga-query.log``. You can disable logging to specify ``off``."
193
194 msgid "Query log is useful for the following cases:"
195 msgstr "Query log is useful for the following cases:"
196
197 msgid "Detecting slow query."
198 msgstr "Detecting slow query."
199
200 msgid "Debugging."
201 msgstr "Debugging."
202
203 msgid "You can analyze your query log by `groonga-query-log package <https://github.com/groonga/groonga-query-log>`_. The package provides useful tools."
204 msgstr "You can analyze your query log by `groonga-query-log package <https://github.com/groonga/groonga-query-log>`_. The package provides useful tools."
205
206 msgid "For example, there is a tool that analyzing your query log. It can detect slow queries from your query log. There is a tool that replaying same queries in your query log. It can test the new Groonga before updating production environment."
207 msgstr "For example, there is a tool that analyzing your query log. It can detect slow queries from your query log. There is a tool that replaying same queries in your query log. It can test the new Groonga before updating production environment."
208
209 msgid "Performance related directives"
210 msgstr "Performance related directives"
211
212 msgid "The following directives are related to the performance of groonga-httpd."
213 msgstr "The following directives are related to the performance of groonga-httpd."
214
215 msgid "``worker_processes``"
216 msgstr "``worker_processes``"
217
218 msgid "For optimum performance, set this to be equal to the number of CPUs or cores. In many cases, Groonga queries may be CPU-intensive work, so to fully utilize multi-CPU/core systems, it's essential to set this accordingly."
219 msgstr "For optimum performance, set this to be equal to the number of CPUs or cores. In many cases, Groonga queries may be CPU-intensive work, so to fully utilize multi-CPU/core systems, it's essential to set this accordingly."
220
221 msgid "This isn't a groonga-httpd specific directive, but an nginx's one. For details, see http://wiki.nginx.org/CoreModule#worker_processes."
222 msgstr "This isn't a groonga-httpd specific directive, but an nginx's one. For details, see http://wiki.nginx.org/CoreModule#worker_processes."
223
224 msgid "By default, this is set to 1. It is nginx's default."
225 msgstr "By default, this is set to 1. It is nginx's default."
226
227 msgid "``groonga_cache_limit``"
228 msgstr "``groonga_cache_limit``"
229
230 msgid "``groonga_cache_limit 100;``"
231 msgstr "``groonga_cache_limit 100;``"
232
233 msgid "Specifies Groonga's limit of query cache in the ``http``, ``server`` or ``location`` block. The default value is 100. You can disable query cache to specify 0 to ``groonga_cache_limit`` explicitly."
234 msgstr "Specifies Groonga's limit of query cache in the ``http``, ``server`` or ``location`` block. The default value is 100. You can disable query cache to specify 0 to ``groonga_cache_limit`` explicitly."
235
236 msgid "``groonga_cache_base_path``"
237 msgstr "``groonga_cache_base_path``"
238
239 msgid "``groonga_cache_base_path off;``"
240 msgstr "``groonga_cache_base_path off;``"
241
242 msgid "Specifies the base path of query cache in the ``http``, ``server`` or ``location`` block."
243 msgstr "Specifies the base path of query cache in the ``http``, ``server`` or ``location`` block."
244
245 msgid "It's recommended that you specify this configuration when you use multi-workers configuration."
246 msgstr "It's recommended that you specify this configuration when you use multi-workers configuration."
247
248 msgid "If the base path is specified, you can use persistent cache instead of on memory cache. If you use persistent cache, workers share query cache. It's efficient for multi-workers configuration because the same response is cached only once in multiple workers."
249 msgstr "If the base path is specified, you can use persistent cache instead of on memory cache. If you use persistent cache, workers share query cache. It's efficient for multi-workers configuration because the same response is cached only once in multiple workers."
250
251 msgid "There is one more merit for persistent cache. You don't need to warm up cache after groonga-httpd is restarted. Persistent cache isn't cleared when groonga-httpd is down. groonga-httpd can use existing persistent cache again."
252 msgstr "There is one more merit for persistent cache. You don't need to warm up cache after groonga-httpd is restarted. Persistent cache isn't cleared when groonga-httpd is down. groonga-httpd can use existing persistent cache again."
253
254 msgid "The default value is ``off``. It means that persistent cache is disabled. On memory cache is used. On memory cache is independent in each worker. It's not efficient for multi-workers configuration because two or more workers may keeps the same response separately."
255 msgstr "The default value is ``off``. It means that persistent cache is disabled. On memory cache is used. On memory cache is independent in each worker. It's not efficient for multi-workers configuration because two or more workers may keeps the same response separately."
256
257 msgid "Persistent cache is a bit slower than on memory cache. Normally, the difference has little influence on performance."
258 msgstr "Persistent cache is a bit slower than on memory cache. Normally, the difference has little influence on performance."
259
260 msgid "You must specify the base path on memory file system. If you specify the base path on disk, your cache will be slow. It's not make sense."
261 msgstr "You must specify the base path on memory file system. If you specify the base path on disk, your cache will be slow. It's not make sense."
262
263 msgid "``proxy_cache``"
264 msgstr "``proxy_cache``"
265
266 msgid "In short, you can use nginx's reverse proxy and cache mechanism instead of Groonga's built-in query cache feature."
267 msgstr "In short, you can use nginx's reverse proxy and cache mechanism instead of Groonga's built-in query cache feature."
268
269 msgid "Query cache"
270 msgstr "Query cache"
271
272 msgid "Groonga has query cache feature for :doc:`/reference/commands/select` command. The feature improves performance in many cases."
273 msgstr "Groonga has query cache feature for :doc:`/reference/commands/select` command. The feature improves performance in many cases."
274
275 msgid "Query cache feature works well on groonga-httpd except you use :doc:`/reference/commands/cache_limit` command on 2 or more workers. Normally, :doc:`/reference/commands/cache_limit` command isn't used. So there is no problem on many cases."
276 msgstr "Query cache feature works well on groonga-httpd except you use :doc:`/reference/commands/cache_limit` command on 2 or more workers. Normally, :doc:`/reference/commands/cache_limit` command isn't used. So there is no problem on many cases."
277
278 msgid "Here is a description about a problem of using :doc:`/reference/commands/cache_limit` command on 2 or more workers."
279 msgstr "Here is a description about a problem of using :doc:`/reference/commands/cache_limit` command on 2 or more workers."
280
281 msgid "Groonga's query cache is available in the same process. It means that workers can't share the cache. If you don't change cache size, it isn't a big problem. If you want to change cache size by :doc:`/reference/commands/cache_limit` command, there is a problem."
282 msgstr "Groonga's query cache is available in the same process. It means that workers can't share the cache. If you don't change cache size, it isn't a big problem. If you want to change cache size by :doc:`/reference/commands/cache_limit` command, there is a problem."
283
284 msgid "There is no portable ways to change cache size for all workers."
285 msgstr "There is no portable ways to change cache size for all workers."
286
287 msgid "For example, there are 3 workers::"
288 msgstr "For example, there are 3 workers::"
289
290 msgid "The client requests :doc:`/reference/commands/cache_limit` command and the worker 1 receives it::"
291 msgstr "The client requests :doc:`/reference/commands/cache_limit` command and the worker 1 receives it::"
292
293 msgid "The client requests :doc:`/reference/commands/cache_limit` command again and the worker 1 receives it again::"
294 msgstr "The client requests :doc:`/reference/commands/cache_limit` command again and the worker 1 receives it again::"
295
296 msgid "In this case, the worker 2 and the worker 3 aren't received any requests. So they don't change cache size."
297 msgstr "In this case, the worker 2 and the worker 3 aren't received any requests. So they don't change cache size."
298
299 msgid "You can't choose a worker. So you can't change cache sizes of all workers by :doc:`/reference/commands/cache_limit` command."
300 msgstr "You can't choose a worker. So you can't change cache sizes of all workers by :doc:`/reference/commands/cache_limit` command."
301
302 msgid "Reverse proxy and cache"
303 msgstr "Reverse proxy and cache"
304
305 msgid "You can use nginx's reverse proxy and cache feature for query cache::"
306 msgstr "You can use nginx's reverse proxy and cache feature for query cache::"
307
308 msgid "You can use the same cache configuration for all workers but you can't change cache configuration dynamically by HTTP."
309 msgstr "You can use the same cache configuration for all workers but you can't change cache configuration dynamically by HTTP."
310
311 msgid "Here is a sample configuration::"
312 msgstr "Here is a sample configuration::"
313
314 msgid "See the following nginx documentations for parameter details:"
315 msgstr "See the following nginx documentations for parameter details:"
316
317 msgid "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path"
318 msgstr "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path"
319
320 msgid "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid"
321 msgstr "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid"
322
323 msgid "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache"
324 msgstr "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache"
325
326 msgid "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass"
327 msgstr "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass"
328
329 msgid "Note that you need to remove cache files created by nginx by hand after you load new data to Groonga. For the above sample configuration, run the following command to remove cache files::"
330 msgstr "Note that you need to remove cache files created by nginx by hand after you load new data to Groonga. For the above sample configuration, run the following command to remove cache files::"
331
332 msgid "If you use Groonga's query cache feature, you don't need to expire cache by hand. It is done automatically."
333 msgstr "If you use Groonga's query cache feature, you don't need to expire cache by hand. It is done automatically."
334
335 msgid "nginx log related directives"
336 msgstr "nginx log related directives"
337
338 msgid "``access_log``"
339 msgstr "``access_log``"
340
341 msgid "We can output nginx's log by the ``access_log`` directive. The following example is the default nginx's log settings::"
342 msgstr "We can output nginx's log by the ``access_log`` directive. The following example is the default nginx's log settings::"
343
344 msgid "We can specify log format by ``log_format`` directive. For the details of available items of the log, see `Module ngx_http_log_module <http://nginx.org/en/docs/http/ngx_http_log_module.html>`_."
345 msgstr "We can specify log format by ``log_format`` directive. For the details of available items of the log, see `Module ngx_http_log_module <http://nginx.org/en/docs/http/ngx_http_log_module.html>`_."
346
347 msgid "nginx's access log is outputted when a requests is processed. If we want to output the request processing time, we need to set configuration as below::"
348 msgstr "nginx's access log is outputted when a requests is processed. If we want to output the request processing time, we need to set configuration as below::"
349
350 msgid "Available nginx modules"
351 msgstr "Available nginx modules"
352
353 msgid "All standard HTTP modules are available. HttpRewriteModule is disabled when you don't have PCRE (Perl Compatible Regular Expressions). For the list of standard HTTP modules, see `nginx documentation <http://nginx.org/en/docs/>`_."
354 msgstr "All standard HTTP modules are available. HttpRewriteModule is disabled when you don't have PCRE (Perl Compatible Regular Expressions). For the list of standard HTTP modules, see `nginx documentation <http://nginx.org/en/docs/>`_."