I want to add documents to two indices simultaneously. For that, I tried with parallel option . But it stills run sequentially and add data to firstly mentioned index and later to the second one . Is this supported is Esrally ? If so could you please guide me . I already managed for the parallel search.
Below is my track.json
"version": 2,
"description": "Tutorial benchmark for Rally",
"indices": [
{
"name": "customrecords",
"body": "",
"types": [
"docs"
]
}
],
"corpora": [
{
"name": "rally-tutorial",
"documents": [
{
"source-file": "documents.json",
"document-count": 12109130,
"uncompressed-bytes": 12258880607,
"target-index": "geocustom"
},
{
"source-file": "samples.json",
"document-count": 12218269,
"uncompressed-bytes": 7440925751,
"target-index": "customrecords"
}
]
}
],
"schedule": [
{
"operation": {
"operation-type": "create-index"
}
},
{
"operation": {
"operation-type": "cluster-health",
"request-params": {
"wait_for_status": "green"
}
}
},
{
"parallel": {
"tasks": [
{
"operation": {
"operation-type": "bulk",
"bulk-size": 100
},
"warmup-time-period": 120,
"clients": 8,
"target-throughput": 800
}
]
}
}
]
}
type or paste code here