MENU
      임시 Domain 목록 조회

        임시 Domain 목록 조회


        기사 요약

        Cloud Search는 실제 도메인 생성 이전 임시 Domain 생성 기능을 지원합니다. 생성한 모든 임시 도메인을 조회합니다.

        GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/tempdomain
        HTTP

        응답

        필드명타입설명비고
        [].namestring도메인 이름
        [].descriptionstring도메인 설명
        [].typestring컨테이너 타입small, large (Default:small)
        [].indexerCountnumber색인용 컨테이너 개수
        [].searcherCountnumber검색용 컨테이너 개수
        [].createdDatestring도메인 생성 시간
        [].updatedDatestring최종 업데이트 시간
        [].schema.documentSchema검색 설정유효한 Schema(Schema 검증을 통해 확인 가능)
        [].autoCompleteChangeableYesstring자동 완성 색인 변경 가능 여부
        [].containerChangeableYesstring검색용 컨테이너 변경 가능 여부
        [].schemaChangeableYesstring스키마 수정 가능 여부

        응답 Status

        HTTP StatusDesc
        200OK(조회 완료)
        400Bad Request
        401Unauthorized
        403Forbidden
        404Not Found
        500Internal Server Error

        예시

        요청 예시

        GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/tempdomain
        
        GET /CloudSearch/real/v1/tempdomain HTTP/1.1
        Host:cloudsearch.apigw.ntruss.com
        
        x-ncp-apigw-signature-v2: +HqBAleXOJAmUidk7xpm7Na3+KzYBkb/iCa1opA7e3E=
        x-ncp-apigw-timestamp: 1545872768739
        x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi
        HTTP

        응답 예시

        [
          {
            "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"
          }
        ]
        JSON

        이 문서가 도움이 되었습니까?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.