MENU
      Enable and edit autocomplete

        Enable and edit autocomplete


        Article summary

        We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

        Enables or edits autocomplete searches in a domain. After that request, autocomplete indexes are automatically updated.

        • Even if the same autocomplete configuration information as before is requested, autocomplete indexes are updated.
        PUT https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/autocomplete
        HTTP

        Request

        Request Parameters

        ParameterRequiredTypeLimitationsDescription
        nameYstringDomain name

        Request Body

        ParameterRequiredTypeLimitationsDescription
        indexNameYstringSelect one of the indexes previously createdIndex name
        sectionNameYstringSelect one of the sections previously createdSection name

        Response status

        HTTP statusDescription
        200OK (Successfully completed)
        400Bad Request
        401Unauthorized
        403Forbidden
        404Not Found
        500Internal Server Error

        Examples

        Request Example

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

        Request Example

        {"result":"OK"}
        JSON

        Was this article helpful?

        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.