Cloud Search는 실제 도메인 생성 이전 임시 Domain 생성을 지원합니다. 생성한 임시 도메인을 조회합니다.
GET https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/real/v1/tempdomain/{name}
요청
요청 파라미터
| 파라미터 명 | 
필수 여부 | 
타입 | 
제약사항 | 
설명 | 
| name | 
Yes | 
string | 
 | 
생성되어져 있는 임시 Domain 이름 | 
응답
| 필드명 | 
타입 | 
설명 | 
비고 | 
| name | 
string | 
도메인 이름 | 
 | 
| description | 
string | 
도메인 설명 | 
 | 
| type | 
string | 
컨테이너 타입 | 
small, medium, large, xlarge, xxlarge, xxxlarge | 
| indexerCount | 
number | 
색인용 컨테이너 개수 | 
 | 
| searcherCount | 
number | 
검색용 컨테이너 개수 | 
 | 
| createdDate | 
string | 
도메인 생성 시간 | 
 | 
| updatedDate | 
string | 
최종 업데이트 시간 | 
 | 
| schema.document | 
Schema | 
검색 설정 | 
 | 
응답 Status
| HTTP Status | 
Desc | 
| 200 | 
OK(조회 완료) | 
| 400 | 
Bad Request | 
| 401 | 
Unauthorized | 
| 403 | 
Forbidden | 
| 404 | 
Not Found | 
| 500 | 
Internal Server Error | 
예시
요청 예시
GET https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/real/v1/tempdomain/pet
응답 예시
{
  "name": "pet",
  "memberNo": "2540166",
  "description": "search engine for pet",
  "type": "large",
  "indexerCount": 1,
  "searcherCount": 1,
  "schema": {
    "document": {
      "primarySectionName": "petid",
      "sections": [
        {
          "name": "petid",
          "docProperties": [
            {
              "type": "string",
              "name": "dp_petid"
            }
          ]
        },
        {
          "name": "type",
          "docProperties": [
            {
              "type": "string",
              "name": "dp_type"
            }
          ]
        },
        {
          "name": "name",
          "docProperties": [
            {
              "type": "string",
              "name": "dp_name"
            }
          ]
        },
        {
          "name": "age",
          "docProperties": [
            {
              "type": "int8",
              "name": "dp_age"
            }
          ]
        },
        {
          "name": "birth",
          "docProperties": [
            {
              "type": "string",
              "name": "dp_birth"
            }
          ]
        }
      ],
      "indexes": [
        {
          "name": "petid_name",
          "documentTermWeight": "sum_wgt",
          "buildInfos": [
            {
              "name": "index_build_0",
              "sections": [
                "petid"
              ],
              "sectionTermWeight": "1.0 * stw_2p(tf, 0.5, 0.25, 0., length / 128.0)",
              "indexProcessors": [
                {
                  "type": "hanaterm",
                  "method": "sgmt",
                  "option": "+korea +josacat +eomicat"
                }
              ]
            },
            {
              "name": "index_build_1",
              "sections": [
                "name"
              ],
              "sectionTermWeight": "1.0 * stw_2p(tf, 0.5, 0.25, 0., length / 128.0)",
              "indexProcessors": [
                {
                  "type": "hanaterm",
                  "method": "sgmt",
                  "option": "+korea +josacat +eomicat"
                }
              ]
            }
          ]
        }
      ]
    }
  },
  "createdDate": "2018-12-27T00:48:10.685Z",
  "updatedDate": "2018-12-27T00:48:10.685Z"
}