I'd go with a bash script.
Regarding your other point, you should create the index and the mapping upfront before indexing into that index. And that's also where you specify the number of replicas.
I'd go with a bash script.
Regarding your other point, you should create the index and the mapping upfront before indexing into that index. And that's also where you specify the number of replicas.
© 2020. All Rights Reserved - Elasticsearch
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.