Why would you not be able to store them in separate documents within the index? How frequently do you update these documents? Why would maintaining this be more difficult?
@Christian_Dahlqvist and @dadoonet : I need to write elasticsearch queries to fetch data from multiple nodes. So If I store multiple documents under single index would be problem for me to fetch the single search result from multiple documents.
So we don't have any prompt solution to remove the root structure while we query for nested elements during search time from elasticsearch side ? please correct me if I am wrong.
@Christian_Dahlqvist : I don't want to rewrite the document in Elasticsearch, I Just wanted to restructure( like : removing the root structure, etc.. ) the elasticsearch results during search time
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.