Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
New
Description
ConjunctionDISI creates an aggregation of some leaf DocIdSetIterators & TwoPhaseIterators. It's not uncommon for DocIdSetIterator.all(...) to wind up inside it, producing an aggregation that is a little more bulky than it needs be. This can happen frequently with the ValueSource APIs which have queries like FunctionMatchQuery that use this for the "approximation" alongside a TwoPhaseIterator.