I have the query below which test fields defined in two separate nested paths and the query works as expected. However, I would like to return only the inner_hits that meet both criteria. Is that doable in ES? If so, how would I go about adding it? I tried tacking it onto the outer query but that does not work. Any help would be appreciated. Thanks.