I want to have an alias with a filter created by using an index template in
the conf directory. I have got it working with a plain alias and no filters
by specifying a string in the "index.aliases" property of "settings". Is it
possible to create an alias with a filter in this way? I can't get it
working.
My use case is that my indexes are named like this -<YY.MM.>
and I want to give them an aliases for each document type that I expect.
I want to have an alias with a filter created by using an index template in the conf directory. I have got it working with a plain alias and no filters by specifying a string in the "index.aliases" property of "settings". Is it possible to create an alias with a filter in this way? I can't get it working.
My use case is that my indexes are named like this -<YY.MM.> and I want to give them an aliases for each document type that I expect.
I had a go at adding full support for index aliases via index templates.
It's handy because filters can be applied to indexes on creation and the
template regex will make it easy to match indexes that have something
variable like a date stamp in the name. Filters and routing aliases work as
well.
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.