一時 Domainリストの照会
    • PDF

    一時 Domainリストの照会

    • PDF

    記事の要約

    Cloud Searchは、実際のドメインを作成する前に一時 Domain作成機能をサポートします。作成したすべての一時ドメインを照会します。

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

    レスポンス

    フィールド名タイプ説明備考
    [].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
    

    レスポンス例

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

    この記事は役に立ちましたか?

    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.