Differences between an index and an alias which points to a single index


(Rafael Almeida) #1

Hello,

Say I have an index called duckling and an alias called duck which points
to duckling and no other index. Except for creating an alias pointing to
duck, all the other operations seem to route directly to duckling. Is that
true? is there something besides creating an alias that I can do with an
index, but not with its alias?

[]'s
Rafael

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAKCnWVmmw%3Dtfn3%2B%3DH9V6THQ9Q%2BFq_v2W44RmCz5VSEZ3Zyh_xA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Luca Cavanna) #2

No limitations, as long as the alias points to a single index.

If it pointed to multiple indices then you couldn't execute single index
operations, like index etc. as it's not possible to identify which single
index the operation is supposed to execute on.

On Monday, February 24, 2014 12:03:08 AM UTC+1, Rafael Almeida wrote:

Hello,

Say I have an index called duckling and an alias called duck which points
to duckling and no other index. Except for creating an alias pointing to
duck, all the other operations seem to route directly to duckling. Is that
true? is there something besides creating an alias that I can do with an
index, but not with its alias?

[]'s
Rafael

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/261d986a-ee8d-4f1c-9604-e9a19da1faab%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3