Query question on search dependent on results

Is it possible to have a single query where the returned hits match the following:
search a field "a", but also return records which have the same value for field "b" as the records returned by field "a".

(basically, like an SQL subquery)

That is a join, which is not supported by Elasticsearch.

This article suggests a parent relationship:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.