Cloud Search는 실제 도메인 생성 이전 임시 Domain 생성 기능을 지원합니다. 생성한 모든 임시 도메인을 조회합니다.
GET https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/real/v1/tempdomain
응답
필드명 |
타입 |
설명 |
비고 |
[].name |
string |
도메인 이름 |
|
[].description |
string |
도메인 설명 |
|
[].type |
string |
컨테이너 타입 |
small, large (Default:small) |
[].indexerCount |
number |
색인용 컨테이너 개수 |
|
[].searcherCount |
number |
검색용 컨테이너 개수 |
|
[].createdDate |
string |
도메인 생성 시간 |
|
[].updatedDate |
string |
최종 업데이트 시간 |
|
[].schema.document |
Schema |
검색 설정 |
유효한 Schema(Schema 검증을 통해 확인 가능) |
[].autoCompleteChangeable |
Yes |
string |
자동 완성 색인 변경 가능 여부 |
[].containerChangeable |
Yes |
string |
검색용 컨테이너 변경 가능 여부 |
[].schemaChangeable |
Yes |
string |
스키마 수정 가능 여부 |
응답 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
응답 예시
[
{
"name": "car_temp",
"description": "",
"type": "small",
"containerChangeable": "DISABLE",
"schemaChangeable": "DISABLE",
"autoCompleteChangeable": "DISABLE",
"indexerCount": 1,
"searcherCount": 1,
"schema": {},
"createdDate": "2018-12-28T11:17:35.814Z",
"updatedDate": "2018-12-28T11:17:35.814Z"
},
{
"name": "student_temp",
"description": "",
"type": "small",
"indexerCount": 1,
"searcherCount": 1,
"schema": {
"document": {
"primarySectionName": "name",
"sections": [
{
"docProperties": [
{
"type": "string",
"name": "dp_name"
}
],
"name": "name"
},
{
"docProperties": [
{
"type": "string",
"name": "dp_phone_number"
}
],
"name": "phone_number"
}
],
"indexes": [
{
"documentTermWeight": "sum_wgt",
"buildInfos": [
{
"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"
}
],
"name": "index_build_0"
}
],
"name": "name"
},
{
"documentTermWeight": "sum_wgt",
"buildInfos": [
{
"sections": [
"name",
"phone_number"
],
"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_0"
}
],
"name": "student"
}
]
}
},
"createdDate": "2018-12-28T11:18:42.743Z",
"updatedDate": "2018-12-28T11:18:42.743Z"
}
]