First, my context: I have some "topics", in which there are some "posts". Both are indexed and today I search in both separately . To improve the user experience, I want to search in both whereas showing a single page of result of topics. When hit on topics, add the topic to the results. When hit on a post, add the owning topic to the result and show the highlighted post.
For that use case, nested queries seems to be the perfect tool (apart from the post highlight, guessing that I may be able to help implement something about it).
I don't remember where in the doc but it was stated that nested document cannot be updated individually, separately from their parent document. That is a blocker for me, I would have too many nested document per root document. I have some topics which have more than thousand posts, and these topics are updated the most frequently.
So I dug into the code to understand the limitation, to understand if what I want to implement is just feasible. But I didn't find anything meaningful. Could someone explain it to me ?