You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
I don't really understand why that was done and git blame shows that line coming from a merge commit, so it will take some more digging to understand the reasoning.
@jhinch-at-atlassian-com -- it sounds like you have an idea of how/where to propagate the cache. Do you want to give this issue a shot?
Is your feature request related to a problem? Please describe
GlobalOrdinalsQuery
which is used byhas_parent
andhas_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 toHasChildQueryBuilder.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
The text was updated successfully, but these errors were encountered: