How does elasticsearch read one-to-many, parent-child data structures at one time?

for example, the data structure is as follows:

posts-- comments on posts-- comment users

3 layers.

now you need to query a post. It is best to find the comments under the post and the user data under the comments.

can a query be done?

Mar.22,2021
Menu