Punyanjan Sen created OAK-2295:
----------------------------------
Summary: Using "order by jcr:score" slows down queries by an order
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)