Thesaurus settings
    • PDF

    Thesaurus settings

    • PDF

    Article summary

    Set a user thesaurus.

  • The word that the user wants can be configured as a synonym and searched.
  • You can currently set only one thesaurus, and then manage it by version.
  • Enter synonyms by using commas (,) and classify the words by using line breaks.

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

    Request

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsExplanation
    nameYesstringDomain name created

    Request body

    Parameter nameRequirement statusTypeRestrictionsExplanation
    nameYesstringStart with an English letter or "_". English letters, numbers, and "_" are allowed. 3 to 20 characters can be entered.Thesaurus name to create
    descriptionYesstringEnter 0 to 100 charactersDescription about the thesaurus to create
    wordListYesstringList of words to set as synonyms
    versionYesstringVersion of the thesaurus to create

    Response statuses

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

    Example

    Request example

    POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/wiki/synonym
    
    {
      "name": "syno",
      "description": "Wiki thesaurus",
      "wordList": "Hyundai,Hyondai\nAudi,Aodi",
      "version": "0.1"
    }
    

    Response example

    {"result":"ok"}
    

    Was this article helpful?

    What's Next
    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.