Constructor
new AddSearchSynonym(term, synonym, optional)
Construct the request
Parameters:
Name | Type | Description |
---|---|---|
term |
string | A word to which the `synonym` is specified. |
synonym |
string | A word that should be considered equal to the `term` by the full-text search engine. |
optional |
Object | Optional parameters given as an object with structure name of the parameter: value - Allowed parameters: - *oneWay* - Type: boolean - Description: If set to `true`, only `term` -> `synonym` is considered. If set to `false`, also `synonym` -> `term` works. Default: `false`. |
- Source:
Methods
bodyParameters() → {Object}
Get body parameters
- Source:
Returns:
The values of body parameters (name of parameter: value of the parameter)
- Type
- Object
queryParameters() → {Object}
Get query parameters
- Source:
Returns:
The values of query parameters (name of parameter: value of the parameter)
- Type
- Object