put
https://{yourinstance}.makaira.io/configuration
Update the global configuration
Updates the global search configuration for the current instance.
Requires authentication.
Request
PUT /configuration
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
enableCategoryAggregation | boolean | No | Enable or disable category facets in search results. |
searchDocumentTypes | object | No | Object with boolean flags for manufacturer, category, and links to enable/disable these types in search. |
suggestField | string | No | The field to use for autocomplete suggestions. |
boostInSearch | boolean | No | Enable stream boosting in search results. |
boostInCategories | boolean | No | Enable stream boosting on category pages. |
Example Request
{
"enableCategoryAggregation": true,
"searchDocumentTypes": {
"manufacturer": true,
"category": true,
"links": false
},
"suggestField": "title",
"boostInSearch": true,
"boostInCategories": true
}Response
Returns the updated configuration object.
200OK

