Set alias with filter from index template

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.

Thanks
James

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Not really the same but I think it could be relative to this one: https://github.com/elasticsearch/elasticsearch/issues/1695

--
David :wink:
Twitter : @dadoonet / @elasticsearchfr / @scrutmydocs

Le 5 mars 2013 à 02:38, James Brook james_brook@yahoo.co.uk a écrit :

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.

Thanks
James

You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

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.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.