Elasticsearch get all parents and children -


i have elastic search mapping parent , child documents. can one-to-many have created one-to-one relationship between parent , child. reason relationship instead of nested documents children updated , can avoid touching parent documents everytime. avoid creating deleted documents of parent doc type taking 70% more space required before merge happens.

now have query returns list of parent documents. want retrieve children parent list.

is possible parents , associated children same query instead of running separate query children of each parent?


Comments

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -