Recombee API Client
|
Add search synonym More...
Public Member Functions | |
AddSearchSynonym (string term, string synonym, bool? oneWay=null) | |
Construct the request More... | |
override string | Path () |
| |
override Dictionary< string, object > | QueryParameters () |
Get query parameters More... | |
override Dictionary< string, object > | BodyParameters () |
Get body parameters More... | |
![]() | |
Request (HttpMethod httpMethod, int timeoutMilliseconds, bool ensureHttps=false) | |
Construct the request More... | |
Properties | |
string | Term [get] |
A word to which the synonym is specified. More... | |
string | Synonym [get] |
A word that should be considered equal to the term by the full-text search engine. More... | |
bool? | OneWay [get] |
If set to true , only term -> synonym is considered. If set to false , also synonym -> term works. Default: false . More... | |
![]() | |
TimeSpan | Timeout [get, set] |
Timeout for the request in milliseconds More... | |
bool | EnsureHttps [get] |
If true, HTTPS must be chosen over HTTP for this request More... | |
HttpMethod | RequestHttpMehod [get] |
Used HTTP method More... | |
Additional Inherited Members | |
![]() | |
double | ConvertToUnixTimestamp (DateTime date) |
| |
Add search synonym
Adds a new synonym for the Search items. When the term
is used in the search query, the synonym
is also used for the full-text search. Unless oneWay=true
, it works also in the opposite way (synonym
-> term
). An example of a synonym can be science fiction
for the term sci-fi
.
|
inline |
Construct the request
term | A word to which the synonym is specified. |
synonym | A word that should be considered equal to the term by the full-text search engine. |
oneWay | If set to true , only term -> synonym is considered. If set to false , also synonym -> term works. Default: false . |
|
inlinevirtual |
Get body parameters
Implements Recombee.ApiClient.ApiRequests.Request.
|
inlinevirtual |
Implements Recombee.ApiClient.ApiRequests.Request.
|
inlinevirtual |
Get query parameters
Implements Recombee.ApiClient.ApiRequests.Request.
|
get |
If set to true
, only term
-> synonym
is considered. If set to false
, also synonym
-> term
works. Default: false
.
|
get |
A word that should be considered equal to the term
by the full-text search engine.
|
get |
A word to which the synonym
is specified.