MENU
      Get stop word policy

        Get stop word policy


        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.

        Gets stop word policies.

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

        Path variables

        ParameterRequiredTypeLimitationsDescription
        nameYstringDomain name
        rule_nameYstringStop word policy name

        Request

        Request Header

        ParameterRequiredTypeLimitationsDescription
        hasWordListYbooleanDefault: trueIndicates whether to include stop words in the result.

        Response

        FieldRequiredTypeDescriptionNote
        typeYstringfilter, exactStop word rule type
      • filter: Partial matching, which removes a search term if part of it matches the registered stop word.
      • exact: Exact matching, which removes a search term if it exactly match the registered stop word.
      • case_sensitiveYbooleantrue, false
        Whether words set with Stopword are case sensitive
        word_listNListList of words registered in the policy
        word_list_lengthYnumberNumber of words registered in the policy
        rule_nameYstringStop word policy name

        Response status

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

        Examples

        Request Example

        GET /CloudSearch/real/v1/domain/car_beta/stopword/josa HTTP/1.1
        Host: cloudsearch.apigw.ntruss.com
        accept:application/json
        x-ncp-iam-access-key: cPMl0CYGgRYvEa8sylCj
        x-ncp-apigw-signature-v2: +Ln++MqcKHckKli2y/bB76xLUu8qR9rLvo6j2yIYuYg=
        x-ncp-apigw-timestamp: 1551453306138
        hasWordList: true
        HTTP

        Request Example

        {
          "type": "filter",
          "word_list": [
            "은",
            "는",
            "이",
            "가",
            "을",
            "를",
            "의"
          ],
          "word_list_length": 7,
          "rule_name": "josa"
        }
        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.