i want to modify all index settings config in index_settings.
rally version: 1.3.0
cmd:
esrally race --track=geonames --track-params=index_settings:
["index.number_of_shards:1","index.number_of_replicas:1"]
or
esrally race --track=geonames --track-params=index_settings:{"index":{"number_of_shards":1,"number_of_replicas":1}}
but return as :
index_settings:[index.number_of_shards:1,index.number_of_replicas:1]
Traceback (most recent call last):
File "/root/miniconda3/bin/esrally", line 8, in
sys.exit(main())
File "/root/miniconda3/lib/python3.7/site-packages/esrally/rally.py", line 633, in main
cfg.add(config.Scope.applicationOverride, "track", "params", opts.to_dict(args.track_params))
File "/root/miniconda3/lib/python3.7/site-packages/esrally/utils/opts.py", line 84, in to_dict
return default_parser(csv_to_list(arg))
File "/root/miniconda3/lib/python3.7/site-packages/esrally/utils/opts.py", line 71, in kv_to_map
k, v = kv.split(":")
ValueError: too many values to unpack (expected 2)
as follows :
from rally-tracks/geonames/challenges/default.json
{
"operation": {
"operation-type": "create-index",
"settings": {{index_settings | default({}) | tojson}}
}
}
and README.MD
index_settings: A list of index settings. Index settings defined elsewhere (e.g. number_of_replicas) need to be overridden explicitly.
but i cannot find the way to modify the index_settings???