I thought on creating a plugin myself, just wondering if there already
wasn't a way of doing it. IMO setting index alias on index templating is
perfect. I think I'll fire a feature request for this...
On Wed, Mar 28, 2012 at 16:38, Michael Sick <email@example.com
Ahh - no idea offhand. I have done all of my index creation intentionally.
I know that ES provides information/API's on its inner workings and that
people are creating plugins that listen to these API's for various reasons.
I imagine you could listen for such an event and fire the alias command.
Are you set on allowing lazy creation of the indices?
On Wed, Mar 28, 2012 at 3:08 PM, Thiago Souza firstname.lastname@example.org:
The index is created automatically (i.e. a document is indexed into
non existing idex), how can I create the alias, automatically, right after
the index creation?
On Wed, Mar 28, 2012 at 15:14, Michael Sick <
- create the template
- create the index
- create the alias (
you can then redefine the alias as your data changes over time. People
often use the alias function when doing time based indices.
On Wed, Mar 28, 2012 at 1:54 PM, Thiago Souza email@example.com:
This is great! But how do I set the alias? I can find de
documentation on how to add an index alias, but when setting up a new
index, how to declare the aliases?
On Wed, Mar 28, 2012 at 12:18, Michael Sick <
On Wed, Mar 28, 2012 at 11:15 AM, Thiago Souza firstname.lastname@example.org:
Is there any way to automatically assign and index alias
upon it's creation, based on a pattern
For example, twitter-* => twitter and so upon creation of
"twitter-2012-03-28" would be automatically assigned to "twitter"