indices element
The indices element contains a list of all indexes used in the workload.
Example
To create an index, specify its name. To add definitions to your index, use the body option and point it to the JSON file containing the index definitions:
"indices": [
{
"name": "geonames",
"body": "geonames-index.json",
}
]
Configuration options
Use the following options with indices:
| Parameter | Required | Type | Description |
|---|---|---|---|
name | Yes | String | The name of the index template. |
body | No | String | The file name corresponding to the index definition used in the body of the Create Index API. |