I want to run the following script over several indexes called 'index1-%{+YYYY.MM.dd}:
curl -XPUT http://localhost:9200/index1* -d '
{
"mappings" : {
"index1" : {
"properties" : {
"location": {
"type": "geo_point"
}
}
}
}
}'
But the previous script doesn't work due to '*'.
Do you know how to solve that ?
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.