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 "Punyanjan Sen (JIRA)" <ji...@apache.org> on 2014/11/25 20:54:12 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 ]
Punyanjan Sen updated OAK-2295:
-------------------------------
Summary: Using "order by jcr:score" slows down queries by a few orders of magnitude (was: Using "order by jcr:score" slows down queries by an order of magnitude)
> 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
> Priority: Critical
>
> 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)