[
https://issues.apache.org/jira/browse/OAK-2944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Amit Jain resolved OAK-2944.
----------------------------
Resolution: Fixed
Thanks [~tmueller] for the review.
Incorporated the review changes and committed to trunk
http://svn.apache.org/r1686790
I updated the {{org.apache.jackrabbit.oak.query}} to 2.1 and added
@ProviderType to the Query interface.
> Support merge iterator for union order by queries
> -------------------------------------------------
>
> Key: OAK-2944
> URL: https://issues.apache.org/jira/browse/OAK-2944
> Project: Jackrabbit Oak
> Issue Type: Sub-task
> Components: query
> Reporter: Amit Jain
> Assignee: Amit Jain
> Labels: perfomance
> Fix For: 1.3.1
>
> Attachments: OAK-2618.patch
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)