Querying multiple differently nested objects from a single path?

I have a document in which multiple nested objects are defined for
different field names. These objects can occur in different hierarchies.

Indexing is fine.

Querying is difficult.

I see it is not possible to make the root the nested object and refer to
this root as the path for any of the other nested objects.

I assume providing a wildcard in the nested path is also not supported.

I am wondering how you can query multiple different nested objects without
defining a nested query for each of the nested objects?

Any tips or ideas are welcome.

/JZ

--
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 elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAA%2BD3eUMPw8imPLN6V%3DjqQvxcH3-2CnYH0fLG%3Dq1Y_2az6tQNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.