Debian Codegraph @

doc/locale/ja/LC_MESSAGES/reference/executables/groonga-httpd.po

raw
1 # -*- po -*-
2 # Japanese translations for 1.2.1 package.
3 # Copyright (C) 2009-2011, Brazil, Inc
4 # This file is distributed under the same license as the groonga package.
5 # Kouhei Sutou <[email protected]>, 2011.
6 msgid ""
7 msgstr ""
8 "Project-Id-Version: 1.2.1\n"
9 "Report-Msgid-Bugs-To: \n"
10 "PO-Revision-Date: 2023-07-21 17:28+0900\n"
11 "Language-Team: Japanese\n"
12 "Language: ja\n"
13 "MIME-Version: 1.0\n"
14 "Content-Type: text/plain; charset=UTF-8\n"
15 "Content-Transfer-Encoding: 8bit\n"
16 "Plural-Forms: nplurals=1; plural=0;\n"
17
18 msgid "Execution example::"
19 msgstr "実行例::"
20
21 msgid "groonga-httpd"
22 msgstr ""
23
24 msgid "groonga-httpd has been extracted as `groonga-nginx <https://github.com/groonga/groonga-nginx>`_ since Groonga 13.0.3."
25 msgstr "Groonga 13.0.3からgroonga-httpdは `groonga-nginx <https://github.com/groonga/groonga-nginx>`_ に切り出されました。"
26
27 msgid "Summary"
28 msgstr "概要"
29
30 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."
31 msgstr "groonga-httpdはGroongaサーバーとHTTPプロトコルで通信するプログラムです。 機能的には、 :doc:`groonga-server-http` と同じです。 :doc:`groonga-server-http` はHTTPサーバーとしては最小限の機能しか持ちませんが、groonga-httpdは `nginx <http://www.nginx.org/>`_ を組み込むことでnginxが準拠しているHTTPの仕様と機能をすべて利用できます。"
32
33 msgid "groonga-httpd has an Web-based administration tool implemented with HTML and JavaScript. You can access to it from http://hostname:port/."
34 msgstr "groonga-httpdにはHTML + JavaScriptで実装された管理ツールが標準で付属しています。ウェブブラウザでhttp://hostname:port/にアクセスすると、管理ツールを利用できます。"
35
36 msgid "Syntax"
37 msgstr "構文"
38
39 msgid "Usage"
40 msgstr "使い方"
41
42 msgid "Set up"
43 msgstr "設定をする"
44
45 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::"
46 msgstr "まずは、データベースを指定するためにgroonga-httpdの設定ファイルを編集する必要があります。次のように/etc/groonga/httpd/groonga-httpd.confを編集して ``groonga_database`` ディレクティブを有効にしてます。"
47
48 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.::"
49 msgstr "次に、groonga-httpdを実行してください。すぐにターミナルに制御が戻ってきます。これはgroonga-httpdはデフォルトでデーモンプロセスになるからです。"
50
51 msgid "Request queries"
52 msgstr "クエリーを実行する"
53
54 msgid "To check, request a simple query (:doc:`/reference/commands/status`)."
55 msgstr "動作を確認するため、簡単なクエリー( :doc:`/reference/commands/status` )をリクエストしてみます。"
56
57 msgid "Loading data by POST"
58 msgstr "POSTでのデータロード"
59
60 msgid "You can load data by POST JSON data."
61 msgstr "JSONデータをPOSTするとデータをロードできます。"
62
63 msgid "Here is an example ``curl`` command line that loads two users ``alice`` and ``bob`` to ``Users`` table::"
64 msgstr "``Users`` テーブルに ``alice`` と ``bob`` ユーザーをロードする ``curl`` のコマンドライン例は次の通りです::"
65
66 msgid "If you loads users from JSON file, prepare JSON file like this::"
67 msgstr "JSONファイルからユーザーをロードする場合は、次のようなJSONファイルを準備します::"
68
69 msgid "Then specify JSON file in ``curl`` command line::"
70 msgstr "それから ``curl`` のコマンドラインでJSONファイルを指定します::"
71
72 msgid "Browse the administration tool"
73 msgstr "管理ツールを使う"
74
75 msgid "Also, you can browse Web-based administration tool at http://localhost:10041/."
76 msgstr "補足ですが、 http://localhost:10041/ にアクセスすると管理ツールを利用できます。"
77
78 msgid "Shut down"
79 msgstr "終了する"
80
81 msgid "Finally, to terminate the running groonga-httpd daemon, run this::"
82 msgstr "最後に、次のコマンドで動作中のgroonga-httpdデーモンを終了できます。"
83
84 msgid "Configuration directives"
85 msgstr "設定ディレクティブ"
86
87 msgid "This section describes only important directives. They are groonga-httpd specific directives and performance related directives."
88 msgstr "このセクションでは重要なディレクティブのみ説明します。重要なディレクティブとはgroonga-http特有のディレクティブと性能に関するディレクティブです。"
89
90 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."
91 msgstr "以下のディレクティブはgroonga-httpdの設定ファイル中で使用することができます。デフォルトでは、設定ファイルは/etc/groonga/httpd/groonga-httpd.confに置かれています。"
92
93 msgid "Groonga-httpd specific directives"
94 msgstr "groonga-httpd特有のディレクティブ"
95
96 msgid "The following directives aren't provided by nginx. They are provided by groonga-httpd to configure groonga-httpd specific configurations."
97 msgstr "以下のディレクティブはnginxが提供しているものではなく、groonga-httpd関連の設定をするためにgroonga-httpdが提供しているディレクティブです。"
98
99 msgid "``groonga``"
100 msgstr ""
101
102 msgid "Syntax::"
103 msgstr "構文::"
104
105 msgid "Default"
106 msgstr "デフォルト"
107
108 msgid "``groonga off;``"
109 msgstr ""
110
111 msgid "Context"
112 msgstr "コンテキスト"
113
114 msgid "``location``"
115 msgstr ""
116
117 msgid "Specifies whether Groonga is enabled in the ``location`` block. The default is ``off``. You need to specify ``on`` to enable groonga."
118 msgstr "この ``location`` ブロックでGroongaを使うかどうかを指定します。デフォルトは ``off`` です。Groongaを使うためには ``on`` を指定してください。"
119
120 msgid "Examples::"
121 msgstr "例::"
122
123 msgid "``groonga_database``"
124 msgstr ""
125
126 msgid "``groonga_database /usr/local/var/lib/groonga/db/db;``"
127 msgstr ""
128
129 msgid "``http``, ``server``, ``location``"
130 msgstr ""
131
132 msgid "Specifies the path to a Groonga database. This is the required directive."
133 msgstr "Groongaデータベースのパスを指定します。このディレクティブは必須です。"
134
135 msgid "``groonga_database_auto_create``"
136 msgstr ""
137
138 msgid "``groonga_database_auto_create on;``"
139 msgstr ""
140
141 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."
142 msgstr "Groongaのデータベースを自動で作成するかどうかを指定します。もし、この値が ``on`` で :ref:`groonga-httpd-groonga-database` に指定したGroongaのデータベースが存在しない場合は自動でGroongaのデータベースを作成します。Groongaのデータベースが存在している場合は何もしません。"
143
144 msgid "If parent directory doesn't exist, parent directory is also created recursively."
145 msgstr "もし、親ディレクトリが存在しな場合は再帰的に親ディレクトリも作成します。"
146
147 msgid "The default value is ``on``. Normally, the value doesn't need to be changed."
148 msgstr "デフォルト値は ``on`` です。通常、この値を変更する必要はありません。"
149
150 msgid "``groonga_base_path``"
151 msgstr ""
152
153 msgid "The same value as ``location`` name."
154 msgstr "``location`` の名前と同じ値。"
155
156 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."
157 msgstr "URIのベースパスを指定します。Groongaは ``command`` を実行するために ``/d/command?parameter1=value1&...`` というパスを使います。groonga-httpdでもこのパスの形式を使いますが、groonga-httpdは ``/other-prefix/command?parameter1=value1&...`` というように ``/d/`` ではなく別のプレフィックスを使った形式もサポートしています。この別の形式もサポートするために、groonga-httpdはリクエストURIの先頭からベースパスを削除し、先頭に ``/d/`` を追加します。このパスの変換をすることにより、ユーザーはプレフィックスをカスタムできるようになりますが、Groongaは常に ``/d/command?parameter1=value1&...`` という形式で処理できます。"
158
159 msgid "Normally, this directive isn't needed. It is needed for per command configuration."
160 msgstr "通常、このディレクティブを使う必要はありません。このディレクティブはコマンド毎に設定をしたい場合に使います。"
161
162 msgid "Here is an example configuration to add authorization to :doc:`/reference/commands/shutdown` command::"
163 msgstr "以下は :doc:`/reference/commands/shutdown` コマンドに認証をかける設定例です。::"
164
165 msgid "``groonga_log_path``"
166 msgstr ""
167
168 msgid "``/var/log/groonga/httpd/groonga.log``"
169 msgstr ""
170
171 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``."
172 msgstr "Groongaのログ保存先を ``http`` 、``server`` もしくは ``location`` ブロックで指定します。デフォルトは ``/var/log/groonga/httpd/groonga.log`` です。ログを無効にするには ``off`` を指定します。"
173
174 msgid "``groonga_log_level``"
175 msgstr ""
176
177 msgid "``notice``"
178 msgstr ""
179
180 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."
181 msgstr "Groongaのログレベルを ``http`` 、 ``server`` もしくは ``location`` ブロックで指定します。デフォルトは ``notice`` です。 ``none`` を指定することでログを無効にできます。"
182
183 msgid "``groonga_query_log_path``"
184 msgstr ""
185
186 msgid "``/var/log/groonga/httpd/groonga-query.log``"
187 msgstr ""
188
189 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``."
190 msgstr "Groongaのクエリーログの保存先を ``http`` 、``server`` もしくは ``location`` ブロックで指定します。デフォルトは ``/var/log/groonga/httpd/groonga-query.log`` です。ログを無効にするには ``off`` を指定します。"
191
192 msgid "Query log is useful for the following cases:"
193 msgstr "クエリーログは以下のようなケースで有用です:"
194
195 msgid "Detecting slow query."
196 msgstr "スロークエリーを見つける。"
197
198 msgid "Debugging."
199 msgstr "デバッグ。"
200
201 msgid "You can analyze your query log by `groonga-query-log package <https://github.com/groonga/groonga-query-log>`_. The package provides useful tools."
202 msgstr "`groonga-query-log パッケージ <https://github.com/groonga/groonga-query-log>`_ でクエリーログを解析できます。このパッケージは有用なツールを提供しています。"
203
204 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."
205 msgstr "例えば、クエリーログを解析するツールがあります。これを使えば、スロークエリーを見つけることができます。クエリーログ内のすべてのクエリーを再生するツールもあります。これを使えば、新しいGroongaをプロダクション環境にデプロイする前に網羅的にテストすることができます。"
206
207 msgid "Performance related directives"
208 msgstr "性能関連のディレクティブ"
209
210 msgid "The following directives are related to the performance of groonga-httpd."
211 msgstr "以下のディレクティブはgronoga-httpdの性能に関連しているディレクティブです。"
212
213 msgid "``worker_processes``"
214 msgstr ""
215
216 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."
217 msgstr "最適なパフォーマンスを得るためには、CPU数あるいはコア数と同じ数になるようにこのディレクティブを設定してください。大抵の場合、GroongaのクエリーはCPU負荷が高いものとなり、複数のCPU/コアを使い切るためには、このディレクティブを設定する必要があります。"
218
219 msgid "This isn't a groonga-httpd specific directive, but an nginx's one. For details, see http://wiki.nginx.org/CoreModule#worker_processes."
220 msgstr "このディレクティブはgroonga-httpdのディレクティブではなく、nginxのディレクティブです。詳細は、 http://wiki.nginx.org/CoreModule#worker_processes を参照してください。"
221
222 msgid "By default, this is set to 1. It is nginx's default."
223 msgstr "デフォルトで、このディレクティブには1が設定されています。"
224
225 msgid "``groonga_cache_limit``"
226 msgstr ""
227
228 msgid "``groonga_cache_limit 100;``"
229 msgstr ""
230
231 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."
232 msgstr "Groongaのクエリキャッシュの制限を ``http`` 、 ``server`` もしくは ``location`` ブロックで指定します。デフォルトは ``100`` です。 ``0`` を指定することで ``groonga_cache_limit`` を明示的に無効にできます。"
233
234 msgid "``groonga_cache_base_path``"
235 msgstr ""
236
237 msgid "``groonga_cache_base_path off;``"
238 msgstr ""
239
240 msgid "Specifies the base path of query cache in the ``http``, ``server`` or ``location`` block."
241 msgstr "クエリーキャッシュの保存先のベースになるパスを ``http`` 、 ``server`` もしくは ``location`` ブロックで指定します。"
242
243 msgid "It's recommended that you specify this configuration when you use multi-workers configuration."
244 msgstr "マルチワーカーの設定をしている場合はこの設定をすることをオススメします。"
245
246 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."
247 msgstr "ベースのパスを指定すると、メモリーキャッシュではなく永続キャッシュを使えます。永続キャッシュを使うと、ワーカー間でクエリーキャッシュを共有できます。複数のワーカー間で同じレスポンスを1回だけキャッシュするので複数ワーカー設定のときに効率的です。"
248
249 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."
250 msgstr "永続キャッシュにはもう1つメリットがあります。groonga-httpdを再起動した後にキャッシュをウォームアップ必要がありません。groonga-httpdが停止しても永続キャッシュは消えません。そのため、既存の永続キャッシュを再利用することができます。"
251
252 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."
253 msgstr "デフォルト値は ``off`` です。これは永続キャッシュは無効ということです。メモリーキャッシュが使われます。メモリーキャッシュはワーカー毎に独立しています。複数のワーカーがそれぞれで同じレスポンスをキャッシュする可能性があるため、複数ワーカー設定のときはメモリーキャッシュは効率的ではありません。"
254
255 msgid "Persistent cache is a bit slower than on memory cache. Normally, the difference has little influence on performance."
256 msgstr "永続キャッシュはメモリーキャッシュよりも少し遅いです。通常、この差によるパフォーマンスの影響は軽微です。"
257
258 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."
259 msgstr "このベースとなるパスはメモリーファイルシステム上のパスを指定するべきです。ディスク上にベースとなるパスを指定するとキャッシュが遅くなります。これでは意味がありません。"
260
261 msgid "``proxy_cache``"
262 msgstr ""
263
264 msgid "In short, you can use nginx's reverse proxy and cache mechanism instead of Groonga's built-in query cache feature."
265 msgstr "まとめると、Groonga組み込みのクエリーキャッシュ機能の代わりにnginxのリバースプロキシとキャッシュの仕組みを使うこともできます。"
266
267 msgid "Query cache"
268 msgstr "クエリーキャッシュ"
269
270 msgid "Groonga has query cache feature for :doc:`/reference/commands/select` command. The feature improves performance in many cases."
271 msgstr "groongaは :doc:`/reference/commands/select` コマンド用にクエリーキャッシュ機能を提供しています。この機能は多くのケースで性能向上を実現します。"
272
273 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."
274 msgstr "クエリーキャッシュ機能は :doc:`/reference/commands/cache_limit` コマンドを使っていないあるいはワーカー数が1だけの場合はgroonga-httpd上でもきちんと動作します。通常、 :doc:`/reference/commands/cache_limit` コマンドは使わないので、多くの場合は問題がありません。"
275
276 msgid "Here is a description about a problem of using :doc:`/reference/commands/cache_limit` command on 2 or more workers."
277 msgstr "2ワーカー以上で :doc:`/reference/commands/cache_limit` コマンドを使ったときの問題点を説明します。"
278
279 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."
280 msgstr "groongaのクエリーキャッシュは同じプロセス内で有効です。これは、同じキャッシュを複数のワーカー間で共有できないということです。キャッシュサイズを変更しないならこれは大きな問題ではありません。もし、 :doc:`/reference/commands/cache_limit` コマンドでキャッシュサイズを変更したいなら問題になります。"
281
282 msgid "There is no portable ways to change cache size for all workers."
283 msgstr "すべてのワーカーのキャッシュサイズを変更する汎用的な方法がないのです。"
284
285 msgid "For example, there are 3 workers::"
286 msgstr "例えば、3ワーカーいるとします::"
287
288 msgid "The client requests :doc:`/reference/commands/cache_limit` command and the worker 1 receives it::"
289 msgstr "クライアントが :doc:`/reference/commands/cache_limit` コマンドをリクエストし、worker 1が受け取りました::"
290
291 msgid "The client requests :doc:`/reference/commands/cache_limit` command again and the worker 1 receives it again::"
292 msgstr "クライアントがもう一度 :doc:`/reference/commands/cache_limit` コマンドをリクエストし、またworker 1が受け取りました::"
293
294 msgid "In this case, the worker 2 and the worker 3 aren't received any requests. So they don't change cache size."
295 msgstr "この場合、worker 2とworker 3は1つもリクエストを受けとっていません。そのため、これらのワーカーのキャッシュサイズは変更されていません。"
296
297 msgid "You can't choose a worker. So you can't change cache sizes of all workers by :doc:`/reference/commands/cache_limit` command."
298 msgstr "クライアントはワーカーを選ぶことができないので、 :doc:`/reference/commands/cache_limit` コマンドですべてのワーカのキャッシュサイズを変更することができないのです。"
299
300 msgid "Reverse proxy and cache"
301 msgstr "リバースプロキシとキャッシュ"
302
303 msgid "You can use nginx's reverse proxy and cache feature for query cache::"
304 msgstr "nginxのリバースプロキシ機能とキャッシュ機能を使ってクエリーキャッシュを実現できます::"
305
306 msgid "You can use the same cache configuration for all workers but you can't change cache configuration dynamically by HTTP."
307 msgstr "この方法ではすべてのワーカーで同じキャッシュの設定を利用できますが、HTTPで動的にキャッシュの設定を変更することはできません。"
308
309 msgid "Here is a sample configuration::"
310 msgstr "以下はサンプルの設定です::"
311
312 msgid "See the following nginx documentations for parameter details:"
313 msgstr "パラメーターの詳細は以下のnginxのドキュメントを見てください:"
314
315 msgid "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_path"
316 msgstr ""
317
318 msgid "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache_valid"
319 msgstr ""
320
321 msgid "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_cache"
322 msgstr ""
323
324 msgid "http://nginx.org/en/docs/http/ngx_http_proxy_module.html#proxy_pass"
325 msgstr ""
326
327 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::"
328 msgstr "Groongaに新しいデータをロードしたときは自分でnginxが作ったキャッシュファイルを削除しなければいけないことに注意してください。前述のサンプル設定では、以下のコマンドでキャッシュを消せます::"
329
330 msgid "If you use Groonga's query cache feature, you don't need to expire cache by hand. It is done automatically."
331 msgstr "Groongaのクエリーキャッシュ機能を使うと、手動でキャッシュを失効する必要はありません。自動で失効します。"
332
333 msgid "nginx log related directives"
334 msgstr "nginxログ関連のディレクティブ"
335
336 msgid "``access_log``"
337 msgstr ""
338
339 msgid "We can output nginx's log by the ``access_log`` directive. The following example is the default nginx's log settings::"
340 msgstr "nginxのログを ``access_log`` ディレクティブを使うことで出力できます。以下の例は、デフォルトのnginxのログ設定です。::"
341
342 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>`_."
343 msgstr "``log_format`` ディレクティブを使って、ログのフォーマットを指定できます。利用できるログの項目の詳細は、 `Module ngx_http_log_module <http://nginx.org/en/docs/http/ngx_http_log_module.html>`_ を参照してください。"
344
345 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::"
346 msgstr "nginxのアクセスログは、処理終了時に出力されます。リクエスト処理時間を出力したい場合は、以下のように設定する必要があります。::"
347
348 msgid "Available nginx modules"
349 msgstr "利用可能なnginxモジュール"
350
351 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/>`_."
352 msgstr "全てのHTTPの標準モジュールが利用可能です。PCRE(Perl Compatible Regular Expressions)がない場合はHttpRewriteModuleは無効になります。標準モジュールの一覧は、 `nginx documentation <http://nginx.org/en/docs/>`_ を参照してください。"