[Groonga-commit] droonga/droonga.org at afe2bce [gh-pages] Write about 3 patterns for attribute object

Back to archive index

Yoji Shidara null+****@clear*****
Wed Jan 29 13:59:32 JST 2014


Yoji Shidara	2014-01-29 13:59:32 +0900 (Wed, 29 Jan 2014)

  New Revision: afe2bce324bc146ef1ac7223b50f9e9fc3fc3128
  https://github.com/droonga/droonga.org/commit/afe2bce324bc146ef1ac7223b50f9e9fc3fc3128

  Message:
    Write about 3 patterns for attribute object

  Modified files:
    ja/reference/commands/search/index.md

  Modified: ja/reference/commands/search/index.md (+34 -2)
===================================================================
--- ja/reference/commands/search/index.md    2014-01-29 13:41:54 +0900 (38e9e54)
+++ ja/reference/commands/search/index.md    2014-01-29 13:59:32 +0900 (12bb8c5)
@@ -1145,7 +1145,9 @@ Droongaはそのカラムの値が同じであるレコードを集約し、カ
 
 出力されたレコードのカラムについての情報の配列で、[検索クエリの `output`](#query-output) における `attributes` で指定された順番で個々のカラムの情報を含みます。
 
-個々のカラムの情報はハッシュの形をとり、以下の情報を持ちます。
+個々のカラムの情報はハッシュの形をとり、以下の3種類のうち何れかで表されます。
+
+###### 通常のカラム
 
 `name`
 : カラムの出力名の文字列です。[検索クエリの `output`](#query-output) における `attributes` の指定内容に基づきます。
@@ -1161,6 +1163,19 @@ Droongaはそのカラムの値が同じであるレコードを集約し、カ
    * `true`  : カラムはベクター型である。
    * `false` : カラムはベクター型ではない(スカラー型である)。
 
+###### サブレコードに対応するカラム
+
+`name`
+: カラムの出力名の文字列です。[検索クエリの `output`](#query-output) における `attributes` の指定内容に基づきます。
+
+`attributes`
+: サブレコードのカラム情報を含む配列です。主結果の `attributes` と同様の形式が再帰的に含まれます。
+
+###### 式に対応するカラム
+
+`name`
+: カラムの出力名の文字列です。[検索クエリの `output`](#query-output) における `attributes` の指定内容に基づきます。
+
 ##### `records` {#response-query-simple-records}
 
 出力されたレコードの配列です。
@@ -1221,7 +1236,10 @@ Droongaはそのカラムの値が同じであるレコードを集約し、カ
 
 出力されたレコードのカラムについての情報を含むハッシュで、[検索クエリの `output`](#query-output) における `attributes` で指定された出力カラム名がキー、カラムの情報が値となります。
 
-個々のカラムの情報はハッシュの形をとり、以下の情報を持ちます。
+個々のカラムの情報はハッシュの形をとり、以下の3種類のうち何れかで表されます。
+
+
+###### 通常のカラム
 
 `type`
 : カラムの値の型を示す文字列です。
@@ -1234,6 +1252,20 @@ Droongaはそのカラムの値が同じであるレコードを集約し、カ
    * `true`  : カラムはベクター型である。
    * `false` : カラムはベクター型ではない(スカラー型である)。
 
+###### サブレコードに対応するカラム
+
+`type`
+: カラムの値の型を示す文字列です。
+  値は[Groonga のプリミティブなデータ型](http://groonga.org/ja/docs/reference/types.html)の名前か、もしくはテーブル名です。
+
+`attributes`
+: サブレコードのカラム情報を含むハッシュです。主結果の `attributes` と同様の形式が再帰的に含まれます。
+
+###### 式に対応するカラム
+
+`name`
+: カラムの出力名の文字列です。[検索クエリの `output`](#query-output) における `attributes` の指定内容に基づきます。
+
 ##### `records` {#response-query-complex-records}
 
 
-------------- next part --------------
HTML����������������������������...
Download 



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