Kouhei Sutou
null+****@clear*****
Thu Apr 14 11:47:38 JST 2016
Kouhei Sutou 2016-04-14 11:47:38 +0900 (Thu, 14 Apr 2016) New Revision: 94bbed4cd83de52dc6cd07e6590b218bec70a6b9 https://github.com/groonga/groonga/commit/94bbed4cd83de52dc6cd07e6590b218bec70a6b9 Message: doc: update groonga-suggest-httpd partially We need to also update English document... It has wrong descriptions... Modified files: doc/locale/ja/LC_MESSAGES/reference.po doc/source/reference/executables/groonga-suggest-httpd.rst Modified: doc/locale/ja/LC_MESSAGES/reference.po (+35 -16) =================================================================== --- doc/locale/ja/LC_MESSAGES/reference.po 2016-04-14 11:04:56 +0900 (ddeea42) +++ doc/locale/ja/LC_MESSAGES/reference.po 2016-04-14 11:47:38 +0900 (dcf3607) @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: 1.2.1\n" "Report-Msgid-Bugs-To: \n" -"PO-Revision-Date: 2016-04-06 16:16+0900\n" +"PO-Revision-Date: 2016-04-14 11:44+0900\n" "Last-Translator: Masafumi Yokoyama <yokoyama �� clear-code.com>\n" "Language-Team: Japanese\n" "Language: ja\n" @@ -14883,70 +14883,89 @@ msgid "" "groonga-suggest-httpd behaves similar in point of view of suggestion " "functionality, but the name of parameter is different." msgstr "" +"groonga-suggest-httpdはHTTPリクエストを受け付けてサジェストデータセットを返" +"し、さらに学習用のログを保存します。groonga-suggest-httpdはサジェスト機能を提" +"供しますが、パラメーター名は違います。" msgid "First you need to set up database for suggestion." msgstr "最初に提案用のデータベースをセットアップする必要があります。" msgid "Launch groonga-suggest-httpd" -msgstr "" +msgstr "groonga-suggest-httpdを起動" msgid "Execute groonga-suggest-httpd command:" -msgstr "" +msgstr "groonga-suggest-httpdコマンドを起動します。" msgid "" "After executing above command, groonga-suggest-httpd accepts HTTP request on " "8080 port." msgstr "" +"上記のコマンドを実行すると、groonga-suggest-httpdは8080番ポートでHTTPリクエス" +"トを受け付けます。" msgid "If you just want to save requests into log file, use ``-l`` option." msgstr "" +"リクエストをログファイルに保存したいだけの場合は ``-l`` オプションを使ってく" +"ださい。" msgid "" "Here is the example to save log files under ``logs`` directory with ``log`` " "prefix for each file.::" msgstr "" +"以下は各ログファイルに ``log`` というプレフィックスをつけて ``logs`` ディレク" +"トリーに保存する例です。::" msgid "" "Under ``logs`` directory, log files such as ``logYYYYmmddHHMMSS-00`` are " "created." msgstr "" +"``logYYYYmmddHHMMSS-00`` という名前のログファイルが ``logs`` ディレクトリー以" +"下にできます。" msgid "Request to groonga-suggest-httpd" -msgstr "" +msgstr "groonga-suggest-httpdへリクエスト" msgid "" "Here is the sample requests to learn ``groonga`` for ``query`` dataset::" msgstr "" +"以下は ``query`` データセットに ``groonga`` を学習させるためのリクエスト例で" +"す。::" msgid "Options" -msgstr "" +msgstr "オプション" -msgid "Specify http server port number. The default value is 8080." -msgstr "" +msgid "Specify HTTP server port number. The default value is 8080." +msgstr "HTTPサーバーのポート番号を指定します。デフォルトは8080番です。" msgid "" -"Specify number of threads. The default value is 8. This option accepts 128 " -"as the max value, but use the number of CPU cores for performance." +"Specify number of threads. The default value is the number of CPU cores. " +"This option accepts 128 as the max value, but use the number of CPU cores " +"for performance." msgstr "" +"スレッド数を指定します。デフォルトはコア数です。最大で128を指定できますが、パ" +"フォーマンスを出すためには最大でもCPUコア数を指定する方がよいです。" msgid "Specify endpoint for sender." -msgstr "" +msgstr "ログ送信先を指定します。" msgid "Specify endpoint for receiver." -msgstr "" +msgstr "ログ受信時に使用するアドレスを指定します。" msgid "Specify path prefix of log." -msgstr "" +msgstr "ログのパス名のプレフィックスを指定します。" msgid "" -"Specify the number of lines in a log file. The default value is 1,000,000." -msgstr "" +"Specify the max number of lines in a log file. The default value is " +"1,000,000." +msgstr "1つのログファイルの最大行数を指定します。デフォルトは100万行です。" msgid "Specify this option to daemonize." -msgstr "" +msgstr "デーモン化する場合に指定します。" msgid "Specify this option to disable checking max fd on start." msgstr "" +"起動時の最大ファイルディスクリプター数のチェックを無効化する場合に指定しま" +"す。" msgid "Command line parameters" msgstr "コマンドライン引数" @@ -14973,7 +14992,7 @@ msgid "There are required parameters which depends on type of query." msgstr "必須の引数があります。どれが必須かはクエリーの種類に依存します。" msgid "Note" -msgstr "" +msgstr "備考" msgid "q" msgstr "" Modified: doc/source/reference/executables/groonga-suggest-httpd.rst (+10 -9) =================================================================== --- doc/source/reference/executables/groonga-suggest-httpd.rst 2016-04-14 11:04:56 +0900 (563bd33) +++ doc/source/reference/executables/groonga-suggest-httpd.rst 2016-04-14 11:47:38 +0900 (29b5823) @@ -14,17 +14,16 @@ Summary groonga-suggest-httpd is a program to provide interface which accepts HTTP request and returns suggestion dataset, then saves logs for learning. groonga-suggest-httpd behaves similar in point of view of suggestion functionality, but the name of parameter is different. -Synopsis --------- +Syntax +------ -:: +``groonga-suggest-httpd`` requires database path:: groonga-suggest-httpd [options] database_path Usage ----- - Set up ^^^^^^ @@ -71,11 +70,11 @@ Options .. cmdoption:: -p, --port - Specify http server port number. The default value is 8080. + Specify HTTP server port number. The default value is 8080. .. cmdoption:: -t, --n-threads - Specify number of threads. The default value is 8. + Specify number of threads. The default value is the number of CPU cores. This option accepts 128 as the max value, but use the number of CPU cores for performance. @@ -93,7 +92,7 @@ Options .. cmdoption:: --n-lines-per-log-file - Specify the number of lines in a log file. The default value is 1,000,000. + Specify the max number of lines in a log file. The default value is 1,000,000. .. cmdoption:: -d, --daemon @@ -109,9 +108,11 @@ Command line parameters There is one required parameter - ``database_path``. ``database_path`` -^^^^^^^^^^^^^^^^^^^ +^^^^^^^^^^^^^^^^^ -Specifies the path to a Groonga database. This database must be created by :doc:`groonga-suggest-create-dataset` command because it executes required initialization for suggestion. +Specifies the path to a Groonga database. This database must be +created by :doc:`groonga-suggest-create-dataset` command because it +executes required initialization for suggestion. GET parameters -------------- next part -------------- HTML����������������������������... 다운로드