mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-06 21:18:31 +00:00
9015062dcb
`FilterAggregationBuilder` today misses to rewrite queries which causes failures if a query that uses a client for instance to lookup terms since it must be rewritten first. This change also ensures that if a client is used from the rewrite context we mark the query as non-cacheable. Closes #21301