Is your feature request related to a problem? Please describe
GlobalOrdinalsQuery which is used by has_parent and has_child queries is not eligible for query caching as it makes use of global ordinals and so isn't segment cacheable. However its inner query should be as it doesn't use the global ordinals but currently isn't due to HasChildQueryBuilder.LateParsingQuery not propagating the query cache to the IndexerSearcher used for the inner query.
Describe the solution you'd like
Allow for the inner query to be cached, improving performance of join queries
Related component
Search:Performance
Describe alternatives you've considered
No response
Additional context
No response