Files

850 B

layout, title, parent, nav_order, redirect_from
layout title parent nav_order redirect_from
default indices Anatomy of a workload 10
/benchmark/workloads/indices/

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.