Thesaurus settings
- Print
- PDF
Thesaurus settings
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Set a user thesaurus.
POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/synonym
Request
Request parameters
Parameter name | Requirement status | Type | Restrictions | Explanation |
---|---|---|---|---|
name | Yes | string | Domain name created |
Request body
Parameter name | Requirement status | Type | Restrictions | Explanation |
---|---|---|---|---|
name | Yes | string | Start with an English letter or "_". English letters, numbers, and "_" are allowed. 3 to 20 characters can be entered. | Thesaurus name to create |
description | Yes | string | Enter 0 to 100 characters | Description about the thesaurus to create |
wordList | Yes | string | List of words to set as synonyms | |
version | Yes | string | Version of the thesaurus to create |
Response statuses
HTTP status | Desc |
---|---|
200 | OK (Successfully created) |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
500 | Internal 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?