i've followed the ILM setup guide and came accross this error
"illegal_argument_exception: index.lifecycle.rollover_alias [test-alias] does not point to index x"
Now i understand that you should create the index alias not in the index mapping but when the first index is created.
However i have 300+ indices that i would like to delete after a certain time, putting an ilm policy and delete phase seems to be the best idea for me.
But i'm unable to figure out why the alias need to point to data if the index is deleted ? and how to setup such alias if indicies already exists ? should i make a wildcard to all my policy related indicies ?
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.