...
Parameter | Description | Data Type | Mandatory | ||||
---|---|---|---|---|---|---|---|
q | The query for the request | String | Yes | ||||
lang | Set the language of the query | String | Yes | ||||
start | It is used to paginate results from a query | Integer | Yes | ||||
rows | It is used to paginate results from a query | Integer | Yes | ||||
topTrends.rows | Specify a number of rows for the topTrends section. If this parameter is not specified, the rows param will be used | Integer | No | ||||
filter | Set query filters | String | No | ||||
boost | boosting query in lucene query format | String | No | ||||
facet | Set query facets | String | No | ||||
sort | Sort results | String | No | ||||
jsonCallback | Name of the callback that will be executed after the request | String | No | ||||
suggestions.suggestion.docs | Number of results to include for each suggestion | String | No | equalizeCustom equalize to apply it instead of the active equalize. | String | No |
Sorting
Send us a request with the fields you want to use for SORTING and we will configure it.
...
Code Block |
---|
sort=price desc |
Boosting
Boosting allows you to modify the default ranking pushing to the top the documents matching the specified queries.
Boosting Nike and Rebook products
Code Block |
---|
boost=brand:Nike^2.1 OR brand:Rebook^1.3 |
boost parameter can be specified multiple times, so multiple queries could be specified as part of a single query using OR (as specified above) or specifying those queries in individual boost parameters.
Code Block |
---|
boost=brand:Nike^2.1&brand:Rebook^1.3 |
Faceting
Send us a request with the list of fields that you want to use for FACETING and we will add it to the config.
...