Hi there,
Does anyone knows if it's possible to define an index alias at index
template level?
Thanks,
Thiago Souza
Hi there,
Does anyone knows if it's possible to define an index alias at index
template level?
Thanks,
Thiago Souza
No. You can define the alias either when creating the index, or using the alias API.
On Monday, April 11, 2011 at 8:00 PM, Thiago Souza wrote:
Hi there,
Does anyone knows if it's possible to define an index alias at index template level?
Thanks,
Thiago Souza
Hi Shay,
May I open an issue with this as a feature request?
Regards,
Thiago Souza
On Mon, Apr 11, 2011 at 15:05, Shay Banon shay.banon@elasticsearch.comwrote:
No. You can define the alias either when creating the index, or using the
alias API.On Monday, April 11, 2011 at 8:00 PM, Thiago Souza wrote:
Hi there,
Does anyone knows if it's possible to define an index alias at index
template level?
Thanks,
Thiago Souza
I am going to revisit the whole alias feature in the next version (post 0.16), what exactly do you need it for? Create indices that all will share the same alias? That alias will only make sense then when searching...
On Monday, April 11, 2011 at 9:25 PM, Thiago Souza wrote:
Hi Shay,
May I open an issue with this as a feature request?
Regards,
Thiago SouzaOn Mon, Apr 11, 2011 at 15:05, Shay Banon shay.banon@elasticsearch.com wrote:
No. You can define the alias either when creating the index, or using the alias API.
On Monday, April 11, 2011 at 8:00 PM, Thiago Souza wrote:Hi there,
Does anyone knows if it's possible to define an index alias at index template level?
Thanks,
Thiago Souza
Hi Shay,
Currently I'm build a tweet processing system based on elasticsearch.
What I am planning to do is to create a daily index of tweets with a
dynamic name (i.e. "tweet---") and each created index will
be assigned to a static alias name (i.e. tweet).
So, I'm planning on creating a "tweet-*" index template and it would be
really nice if it could automatically be assigned to the static alias name
"tweet". Currently I need a separate logic/process to make this assignment.
Regards,
Thiago Souza
On Mon, Apr 11, 2011 at 15:32, Shay Banon shay.banon@elasticsearch.comwrote:
I am going to revisit the whole alias feature in the next version (post
0.16), what exactly do you need it for? Create indices that all will share
the same alias? That alias will only make sense then when searching...On Monday, April 11, 2011 at 9:25 PM, Thiago Souza wrote:
Hi Shay,
May I open an issue with this as a feature request?
Regards,
Thiago SouzaOn Mon, Apr 11, 2011 at 15:05, Shay Banon shay.banon@elasticsearch.comwrote:
No. You can define the alias either when creating the index, or using the
alias API.On Monday, April 11, 2011 at 8:00 PM, Thiago Souza wrote:
Hi there,
Does anyone knows if it's possible to define an index alias at index
template level?
Thanks,
Thiago Souza
You can set in the index template part a setting called index.aliases and set it to the alias name. This should work.
On Monday, April 11, 2011 at 9:42 PM, Thiago Souza wrote:
Hi Shay,
Currently I'm build a tweet processing system based on elasticsearch.
What I am planning to do is to create a daily index of tweets with a dynamic name (i.e. "tweet---") and each created index will be assigned to a static alias name (i.e. tweet).
So, I'm planning on creating a "tweet-*" index template and it would be really nice if it could automatically be assigned to the static alias name "tweet". Currently I need a separate logic/process to make this assignment.Regards,
Thiago SouzaOn Mon, Apr 11, 2011 at 15:32, Shay Banon shay.banon@elasticsearch.com wrote:
I am going to revisit the whole alias feature in the next version (post 0.16), what exactly do you need it for? Create indices that all will share the same alias? That alias will only make sense then when searching...
On Monday, April 11, 2011 at 9:25 PM, Thiago Souza wrote:Hi Shay,
May I open an issue with this as a feature request?
Regards,
Thiago SouzaOn Mon, Apr 11, 2011 at 15:05, Shay Banon shay.banon@elasticsearch.com wrote:
No. You can define the alias either when creating the index, or using the alias API.
On Monday, April 11, 2011 at 8:00 PM, Thiago Souza wrote:Hi there,
Does anyone knows if it's possible to define an index alias at index template level?
Thanks,
Thiago Souza
Great!
On Mon, Apr 11, 2011 at 15:47, Shay Banon shay.banon@elasticsearch.comwrote:
You can set in the index template part a setting called index.aliases and
set it to the alias name. This should work.On Monday, April 11, 2011 at 9:42 PM, Thiago Souza wrote:
Hi Shay,
Currently I'm build a tweet processing system based on elasticsearch. What I am planning to do is to create a daily index of tweets with a
dynamic name (i.e. "tweet---") and each created index will
be assigned to a static alias name (i.e. tweet).
So, I'm planning on creating a "tweet-*" index template and it would be
really nice if it could automatically be assigned to the static alias name
"tweet". Currently I need a separate logic/process to make this assignment.Regards,
Thiago SouzaOn Mon, Apr 11, 2011 at 15:32, Shay Banon shay.banon@elasticsearch.comwrote:
I am going to revisit the whole alias feature in the next version (post
0.16), what exactly do you need it for? Create indices that all will share
the same alias? That alias will only make sense then when searching...On Monday, April 11, 2011 at 9:25 PM, Thiago Souza wrote:
Hi Shay,
May I open an issue with this as a feature request?
Regards,
Thiago SouzaOn Mon, Apr 11, 2011 at 15:05, Shay Banon shay.banon@elasticsearch.comwrote:
No. You can define the alias either when creating the index, or using the
alias API.On Monday, April 11, 2011 at 8:00 PM, Thiago Souza wrote:
Hi there,
Does anyone knows if it's possible to define an index alias at index
template level?
Thanks,
Thiago Souza
© 2020. All Rights Reserved - Elasticsearch
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.