Get stop word policy list
    • PDF

    Get stop word policy list

    • PDF

    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 a list of stop word policies.

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

    Request

    Request Parameters

    ParameterRequiredTypeLimitationsDescription
    nameYstringDomain name
    hasWordListNbooleanDefault: falseIndicates 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_sensitiveYesbooleantrue, 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 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: false
    

    Request Example

    [
      {
        "type": "filter",
        "case_sensitive": true,
        "word_list_length": 2,
        "rule_name": "eomi"
      },
      {
        "type": "filter",
        "case_sensitive": false,
        "word_list_length": 7,
        "rule_name": "josa"
      }
    ]
    

    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.