---
title: "Ranking 생성"
slug: "analytics-cloudsearch-createranking"
updated: 2026-04-23T08:56:08Z
published: 2026-04-23T09:02:28Z
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을 생성합니다.


```http
POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/ranking/{rankingName}
```

## 요청<a name="요청"></a>

### 요청 파라미터<a name="요청파라미터"></a>

| 파라미터명 | 필수 여부 | 타입   | 제약 사항 | 설명                                   |
|-------------|-----------|--------|----------|----------------------------------------|
| name      | Yes       | string | | 생성되어져 있는 Domain 이름 |
| rankingName      | Yes       | string | | 생성되어져 있는 Ranking 이름 |

### 요청 바디<a name="요청바디"></a>

__text__ 타입 : Ranking 수식 입력

### 응답 Status<a name="응답Status"></a>

|Http Status| Desc |
|-------- | ---------------------------- |
|200| OK |
|400|  Bad Request |
|401| Unauthorized                                                   |
|403 | Forbidden                                          |                                                              |
|404 | Not Found                                       |                                                              |
| 500 | Internal Server Error                                                 |                                                              |

## 예시<a name="예시"></a>


### 요청 예시<a name="요청예시"></a>


```HTTP
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<a name="요청Body"></a>

```
_ratio=0.5;
_quality=1.0;
_similarity=qds;
_relevance = _similarity * _ratio + _quality * (1 - _ratio);
```
