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 "Davide Giannella (JIRA)" <ji...@apache.org> on 2015/02/04 14:27:36 UTC

[jira] [Updated] (OAK-2295) Using "order by jcr:score" slows down queries by a few orders of magnitude

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

Davide Giannella updated OAK-2295:
----------------------------------
    Fix Version/s:     (was: 1.1.6)
                   1.1.7

> Using "order by jcr:score" slows down queries by a few orders of magnitude
> --------------------------------------------------------------------------
>
>                 Key: OAK-2295
>                 URL: https://issues.apache.org/jira/browse/OAK-2295
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: oak-lucene
>    Affects Versions: 1.0.8
>         Environment: Linux 2.6.32-431.23.3.el6.x86_64 VM, 
> 16GB RAM
> 4 Core Intel(R) Xeon(R) CPU E5-4640 0 @ 2.40GHz
>            Reporter: Punyanjan Sen
>            Assignee: Thomas Mueller
>            Priority: Critical
>             Fix For: 1.0.12, 1.1.7
>
>         Attachments: OAK-2295.patch
>
>
> The following query takes over 16 seconds to run on our QA system:
> /jcr:root/content/help/en//*[jcr:contains(., 'illustrator')] order by jcr:score
> Removing the "order by jcr:score" reduces the query time to 14ms
> The time taken increases linearly with the amount of content in our repository.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)