Open
Description
Elasticsearch Version
9.1.0
Installed Plugins
No response
Java Version
bundled
OS Version
any
Problem Description
When using a query & a filters aggregation, we may use a competitive iterator, with the Lucene 10.2 upgrade, this is now broken. This results in an indeterminable number of counts. The exact reasoning is still unknown
Steps to Reproduce
This has been replicated in a unit test and will be committed shortly.
Generally, the idea is you have terms that you are filtering on and doing a filters agg while also doing a term query.
Logs (if relevant)
No response