How to query nested documents in order

Does anyone know how to query all documents that has nested document that
match a certain query.

Say you have a blog post with comments that are nested and you want to find
all blog post comments that a comment contains help and following comments
after that contains thank you in insertion order or by date. Which will
also me to see all post that had questions and were answered.


You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit
For more options, visit