MENU
      임시 Domain 조회

        임시 Domain 조회


        기사 요약

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

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

        요청

        요청 파라미터

        파라미터명필수 여부타입제약 사항설명
        nameYesstring생성되어져 있는 임시 Domain 이름

        응답

        필드명타입설명비고
        namestring도메인 이름
        descriptionstring도메인 설명
        typestring컨테이너 타입small, medium, large, xlarge, xxlarge, xxxlarge
        indexerCountnumber색인용 컨테이너 개수
        searcherCountnumber검색용 컨테이너 개수
        createdDatestring도메인 생성 시간
        updatedDatestring최종 업데이트 시간
        schema.documentSchema검색 설정

        응답 Status

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

        예시

        요청 예시

        GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/tempdomain/pet
        
        GET /CloudSearch/real/v1/tempdomain/pet 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": "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"
        }
        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.