MENU
      자동 완성 설정 및 수정

        자동 완성 설정 및 수정


        기사 요약

        생성한 도메인에 자동 완성 검색을 설정하거나 수정합니다. 해당 요청 이후 자동 완성 색인 갱신이 수행됩니다.

        • 기존에 설정한 정보와 동일한 설정을 요청할 경우에도 자동 완성 색인이 갱신됩니다.
        PUT https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/autocomplete
        HTTP

        요청

        요청 파라미터

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

        요청 바디

        파라미터명필수 여부타입제약 사항설명
        indexNameYesstring기존에 생성한 색인 중 택일색인 이름
        sectionNameYesstring기존에 생성한 섹션 중 택일섹션 이름

        응답 Status

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

        예시

        요청 예시

        PUT /CloudSearch/real/v1/domain/car_beta/autocomplete HTTP/1.1
        Host: cloudsearch.apigw.ntruss.com
        Content-Type: application/json
        x-ncp-apigw-signature-v2: cDwtHuQeGmwWyNmwlN6XIGA66zge4iMXvfoDQNna05g=
        x-ncp-apigw-timestamp: 1545817618751
        x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi
        
        {
          "indexName": "brand_name",
          "sectionName": ""
        }
        HTTP

        응답 예시

        {"result":"OK"}
        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.