Does index alias work in the tribe node?


(Jae) #1

Hi

I am working on creating tribe nodes to search across two data centers but unfortunately, I created all indices with same name. Does index alias work in the tribe node? I am still using old 1.5.2 version. I tried to test with the following situation:

tribe.t1.cluster.name=dc1
tribe.t2.cluster.name=dc2

In dc1, dc2, index-20151012 is created. I set up index alias in dc1 as index-20151012-dc1 and in dc2 as index-20151012-dc2. Also I tried to query in the tribe node as

curl localhost:9200/index-20151012-dc1/_search?q=* but I got the IndexMissingException.

Do you have any idea how to fix this problem instead of changing index name?

Thank you
Best, Jae


(system) #2