geonames allows index settings to be overridden as you have discovered. Configuring the index_settings track parameter overrides the default index settings applied in the track. If you want to set refresh_interval, then you will need to configure all index settings using the full path to the setting:
In addition, each designation of --track-params on the command line overrides the previous. Be sure to set all desired parameters in a single flag. It is recommended to put all parameters in a single .json file, and reference the file in --track-params instead to make things cleaner.
I am trying to use the cli as am passing variable to the parameter. i moved to cli. as json is not taking the variable as value. I am running on kubernetes.
Is this correct way to represent above json in cli?
You will want to pass parameters similarly to how I've specified in Error: unrecognized arguments: refresh_interval: -1 - #4 by json where all index settings are included in the index_settings section of your JSON, including number_of_shards and number_of_replicas.
You wouldn't be able to do this directly in param.json without a shell script to assemble the file first; i.e., the JSON needs to be complete and valid before Rally can use it.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.