--- title: "SearchAggregate" slug: "common-vapidatatype-csschema" updated: 2026-09-17T09:56:55Z published: 2026-09-17T09:56:55Z canonical: "api.ncloud-docs.com/common-vapidatatype-csschema" --- > ## Documentation Index > Fetch the complete documentation index at: https://api.ncloud-docs.com/llms.txt > Use this file to discover all available pages before exploring further. # SearchAggregate Classic環境で利用できます。 検索結果サマリーの設定です。 ## 構文 構文は次の通りです。 ``` private String docprop_name; private List max = new ArrayList(); private List min = new ArrayList(); private String one; private String sum; ``` ## フィールド フィールドの詳細は次の通りです。 | フィールド | タイプ | 必須の有無 | 説明 | | --- | --- | --- | --- | | `docprop_name` | String | Required | サマリー検索基準となる文書の属性を指定 - 現在[DocProperty](/docs/ja/common-apidatatype-csdocproperty)が設定されているセクションの中から選択 | | `max` | List | Optional | サマリー検索の`max`演算対象を指定 | | `min` | List | Optional | サマリー検索の`min`演算対象を指定 | | `one` | String | Optional | サマリー検索の`one`演算対象を指定 | | `sum` | String | Optional | サマリー検索の`sum`演算対象を指定 - キーワードの「_1」の使用時はサマリーされた結果の数を求める | ## 例 検索リクエストのサンプルコードは次の通りです。 ``` { "search": { "content": { "main": { "type": "null", } } }, "aggregate": { "dp_like_cnt": { "max": ["dp_like_cnt", "dp_dislike_cnt"], "min": ["dp_like_cnt", "dp_disklike_cnt"], "one": "dp_like_cnt", "sum": "_1" } } } ```