[Groonga-commit] droonga/droonga.org at 447e46a [gh-pages] Update built md files based on the latest po

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Dec 27 17:09:48 JST 2013


YUKI Hiroshi	2013-12-27 17:09:48 +0900 (Fri, 27 Dec 2013)

  New Revision: 447e46afdc05244ecd4aaaaff4dbb873fcb86707
  https://github.com/droonga/droonga.org/commit/447e46afdc05244ecd4aaaaff4dbb873fcb86707

  Message:
    Update built md files based on the latest po

  Modified files:
    ja/reference/commands/column-create/index.md
    ja/reference/commands/table-create/index.md

  Modified: ja/reference/commands/column-create/index.md (+1 -1)
===================================================================
--- ja/reference/commands/column-create/index.md    2013-12-27 17:06:06 +0900 (86207ef)
+++ ja/reference/commands/column-create/index.md    2013-12-27 17:09:48 +0900 (3fd2d6e)
@@ -42,7 +42,7 @@ layout: documents_ja
 
 ## レスポンス {#response}
 
-このコマンドは、レスポンスとしてコマンドの実行結果に関する情報を格納した配列を返却します。
+このコマンドは、レスポンスの `body` としてコマンドの実行結果に関する情報を格納した配列を返却します。
 
     [
       [

  Modified: ja/reference/commands/table-create/index.md (+31 -20)
===================================================================
--- ja/reference/commands/table-create/index.md    2013-12-27 17:06:06 +0900 (875d58b)
+++ ja/reference/commands/table-create/index.md    2013-12-27 17:09:48 +0900 (c9e87bf)
@@ -8,24 +8,34 @@ layout: documents_ja
 
 ## 概要 {#abstract}
 
-`table_create` は、テーブルを作成します。
+`table_create` は、新しいテーブルを作成します。
 
 このコマンドは[Groonga の `table_create` コマンド](http://groonga.org/ja/docs/reference/commands/table_create.html)と互換性があります。
 
-`table_create` はRequest-Response型のコマンドです。コマンドに対しては必ず対応するレスポンスが返されます。
+形式
+: Request-Response型。コマンドに対しては必ず対応するレスポンスが返されます。
 
-## 構文 {#syntax}
+リクエストの `type`
+: `table_create`
+
+リクエストの `body`
+: パラメータのハッシュ。
+
+レスポンスの `type`
+: `table_create.result`
+
+## パラメータの構文 {#syntax}
 
     {
-      "name"              : "テーブル名",
-      "flags"             : "テーブルのフラグ",
-      "key_type"          : "主キーの型",
-      "value_type"        : "値の型",
-      "default_tokenizer" : "デフォルトトークナイザー",
-      "normalizer"        : "ノーマライザー"
+      "name"              : "<テーブル名>",
+      "flags"             : "<テーブルの属性>",
+      "key_type"          : "<主キーの型>",
+      "value_type"        : "<値の型>",
+      "default_tokenizer" : "<デフォルトトークナイザー>",
+      "normalizer"        : "<ノーマライザー>"
     }
 
-## パラメータ {#parameters}
+## パラメータの詳細 {#parameters}
 
 `name` 以外のパラメータはすべて省略可能です。
 
@@ -33,24 +43,26 @@ layout: documents_ja
 
 ## レスポンス {#response}
 
-このコマンドは、レスポンスとしてコマンドの実行結果に関する情報を格納した配列を返却します。
+このコマンドは、レスポンスの `body` としてコマンドの実行結果に関する情報を格納した配列を返却します。
 
     [
       [
-        ステータス,
-        開始時刻,
-        処理に要した時間
+        <Groongaのステータスコード>,
+        <開始時刻>,
+        <処理に要した時間>
       ],
-      テーブルが作成されたかどうか
+      <テーブルが作成されたかどうか>
     ]
 
-各要素の詳細は以下の通りです。
+このコマンドはレスポンスの `statusCode` として常に `200` を返します。これは、Groonga互換コマンドのエラー情報はGroongaのそれと同じ形で処理される必要があるためです。
 
-ステータス
+レスポンスの `body` の詳細:
+
+ステータスコード
 : コマンドが正常に受け付けられたかどうかを示す整数値です。以下のいずれかの値をとります。
   
-   * `0` (`Droonga::GroongaHandler::Status::SUCCESS`) : 正常に処理された。
-   * `-22` (`Droonga::GroongaHandler::Status::INVALID_ARGUMENT`) : 引数が不正である。
+   * `0` (`Droonga::GroongaHandler::Status::SUCCESS`) : 正常に処理された。.
+   * `-22` (`Droonga::GroongaHandler::Status::INVALID_ARGUMENT`) : 引数が不正である。
 
 開始時刻
 : 処理を開始した時刻を示す数値(UNIX秒)。
@@ -63,4 +75,3 @@ layout: documents_ja
   
    * `true`:テーブルを作成した。
    * `false`:テーブルを作成しなかった。
-
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index