31 lines
593 B
Markdown
31 lines
593 B
Markdown
|
---
|
||
|
layout: default
|
||
|
title: indices
|
||
|
parent: Workload reference
|
||
|
nav_order: 65
|
||
|
---
|
||
|
|
||
|
# indices
|
||
|
|
||
|
The `indices` element contains a list of all indexes used in the workload.
|
||
|
|
||
|
## Example
|
||
|
|
||
|
```json
|
||
|
"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.
|