Edit thesaurus
    • PDF

    Edit thesaurus

    • PDF

    Article Summary

    Edit a user thesaurus.

  • You can't add versions lower than the current version.

  • PUT https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/synonym/{synoName}
    

    Request

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsExplanation
    nameYesstringDomain name created
    synoNameYesstringStart with an English letter or "_". English letters, numbers, and "_" are allowed. 3 to 20 characters can be entered.Thesaurus name to create

    Request body

    Parameter nameRequirement statusTypeRestrictionsExplanation
    typeYesstringfilter, exactStop word rule type
  • filter: partial matching; removes the matching parts of the search terms if some of the keywords match the stop words you registered
  • exact: complete matching; removes matching words among search terms if they are an exact match with the stop words you registered
  • word_listYesListList of words to set as stop words
    case_sensitiveYesbooleantrue, falseCase-sensitive status of words to set as stop words

    Response statuses

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

    Example

    Request example

    PUT https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/wiki/synonym/syno
    
    {
      "wordList": "Mobile phone,cell phone,phone\ntoilet paper,tissue",
      "version": "0.4",
      "description": "Wiki thesaurus 0.4"
    }
    

    Response example

    {"result":"ok"}
    

    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.