opensearch-docs-cn/_benchmark/reference/workloads/indices.md

721 B

layout title parent grand_parent nav_order redirect_from
default indices Workload reference OpenSearch Benchmark Reference 65 /benchmark/workloads/indices/

indices

The indices element contains a list of all indices used in the workload.

Example

"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.