If `query` would accept resource objects, it could dynamically build the matching `SearchRequest`.
If
querywould accept resource objects, it could dynamically build the matchingSearchRequest.