--- title: "Ranking 생성" slug: "analytics-cloudsearch-createranking" tags: ["Cloud Search"] updated: 2026-11-24T09:25:29Z published: 2026-11-24T09:25:29Z 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 Content-Type: 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); ```