Alias with Elasticsearch

Hi,
 
I am trying to build a report from different data sources using Elastic. In Elastic I can set up two indexes with different mappings and then combine the result using an Alias.
 
Should I be able to retrieve data using an Alias rather than an explicit index? Right now I get an error and not sure whether it’s because I’ve made a mistake or that the component doesn’t support aliases.
 
Thanks!

2 answers

Public
Ian Sadovy Flexmonster December 7, 2018

Hello Jason,
 
Thank you for the question.
Actually, there was an issue with supporting aliases.
Since working with aliases are the same as with indices, we have made a hotfix to support aliases as well.
You can now download the update from the Client’s Area.
Just specify alias name instead of index name in the report (i.e. "index": "my_index_alias").
 
Please let me know if it works fine for you.
 
Regards,
Ian

Public
Jason Whetton December 7, 2018

Great! I’ll give it a try…
 
Thanks 🙂

Please login or Register to Submit Answer