Create or update a synonym
PUT {{url}}/collections/{{collection_name}}/synonyms/{{synonym_name}}
Request Body
{"synonyms"=>["iphone", "android"], "root"=>"smart phone"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
X-TYPESENSE-API-KEY | string |