0

from documentation:

The most basic form of _reindex just copies documents from one index to another. This will copy documents from the twitter index into the new_twitter index

POST /_reindex
{
  "source": {
    "index": "twitter"
  },
  "dest": {
    "index": "new_twitter"
  }
}

but i don't want a index with a new name... how preserve the index name (without alias)?

ar099968
  • 6,963
  • 12
  • 64
  • 127
  • Why do you want to re-index the same data? to update the mapping? – Henrik Sep 20 '16 at 17:14
  • @Henrik yes... i have update index settings (analyzer) – ar099968 Sep 21 '16 at 07:36
  • 1
    You could index the data into a temporary index and then re-create the original index as mentioned [here](http://stackoverflow.com/questions/35232606/elasticsearch-reindexing-to-the-same-index-name). Aliases is the recommended way to go. – Henrik Sep 22 '16 at 19:19

0 Answers0