HI All,
I have two tables linked in a one to many relationship , i.e for each row in first table there will be multiple rows in second table .
One employee can have many orders assigned to them .
ex :
how can i achieve the data upload to elastic for a single index to have all orders in the form of an array of orders inside the main JSON object?
I also want to add that i have read about custom mappings and templates for elastic , but i need the logstash way of pushing data in the format i have shown .
Hi @Syed_Ather : I am having a similar requirement and would like to know if this was resolved and if so, through what approach ? Please explain.
Thanks,
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.