MENU
      自動完成設定及び修正

        自動完成設定及び修正


        記事の要約

        作成したDomainの自動完成検索を設定するか修正します。該当リクエスト以降、自動完成インデックスの更新が実行されます。

        • 既存設定した情報と同じ設定をリクエストする場合にも自動完成インデックスが更新されます。

        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
        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

        レスポンス例示

        {"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.