--- title: "Ranking作成" slug: "analytics-cloudsearch-createranking" updated: 2026-09-17T09:57:26Z published: 2026-09-17T09:57:26Z canonical: "api.ncloud-docs.com/analytics-cloudsearch-createranking" --- > ## 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. # Ranking作成 該当DomainにRankingを作成します。 ``` POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/ranking/{rankingName} ``` ## リクエスト ### リクエストパラメータ | パラメータ名 | 必須 | タイプ | 制約事項 | 説明 | | --- | --- | --- | --- | --- | | name | Yes | string | | 作成されているDomain名 | | rankingName | Yes | string | | 作成されているRanking名 | ### リクエストボディ **text**タイプ : Ranking数式入力 ### レスポンスStatus | Http Status | Desc | | --- | --- | | 200 | OK | | 400 | Bad Request | | 401 | Unauthorized | | 403 | Forbidden | | 404 | Not Found | | 500 | Internal Server Error | ## 例示 ### リクエスト例示 ``` POST /CloudSearch/real/v1/domain/search_test/ranking/clous Host: cloudsearch.apigw.ntruss.com haveContainer: false haveUsage: false accept: text/plain x-ncp-iam-access-key: cPMl0CYGgRYvEa8sylCj x-ncp-apigw-signature-v2: nn6HxvbYlXzuDBLYG8qNdz4Z7Y6qs+l5EX8BmGwI/EI= x-ncp-apigw-timestamp: 1551436817715 ``` #### リクエストBody ``` _ratio=0.5; _quality=1.0; _similarity=qds; _relevance = _similarity * _ratio + _quality * (1 - _ratio); ```