You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Amit Jain (JIRA)" <ji...@apache.org> on 2016/05/10 04:22:12 UTC

[jira] [Updated] (OAK-2944) Support merge iterator for union order by queries

     [ https://issues.apache.org/jira/browse/OAK-2944?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amit Jain updated OAK-2944:
---------------------------
    Fix Version/s: 1.2.15

> 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, 1.4, 1.2.15
>
>         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)