post
https://{yourinstance}.makaira.io/field
Create a new field to search in.
Adds a new field to the search configuration.
Requires authentication.
Request
POST /field
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Content-Type | application/json |
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
field | string | Yes | Document field identifier to add to the search index (e.g. title, description, attributeStr.color.value). |
active | boolean | No | When false, the field is indexed but not used for searching. Defaults to true. |
boostFactor | number | No | Relevance boost factor (1–10). Higher values prioritize matches in this field. Defaults to 1 (no boost). |
Example Request
{
"field": "manufacturer_title",
"active": true,
"boostFactor": 3
}Response
Returns the created field configuration object.
200OK

