Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
Currently, any order by union queries (including optimized OR XPATH) scan a much larger set when returning the results even when the individual queries are sorted by the index itself.
We should have a merge iterator which would scan a much smaller set as the individual queries would be sorted.