You do not specify how old your "very old" installation of Elasticsearch is, but I expect there will have been changes between that version and the newest ones that mean you can't simply port everything across without making some adaptations.
You will be able to use APIs to get the mapping and settings for each index.
thanks for reply. The version installed is 0.90.13.
As think that I cannot change the mappings after creation of the index neither the settings, do I have to merge the two exported scripts for mapping and settings then to newly crete the index?
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.