You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Sergiy Shyrkov (JIRA)" <ji...@apache.org> on 2016/07/07 16:54:11 UTC

[jira] [Commented] (JCR-2959) SQL2 QueryEngine should use Lucene for sort

    [ https://issues.apache.org/jira/browse/JCR-2959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15366389#comment-15366389 ] 

Sergiy Shyrkov commented on JCR-2959:
-------------------------------------

Hello Ben,

we are interested in your patch for enabling Lucene sort for JCR-SQL2 queries.
Do you still have the patch in one form or another and would it be possible for you to share it or provide some insights?

Thank you in advance!

> SQL2 QueryEngine should use Lucene for sort
> -------------------------------------------
>
>                 Key: JCR-2959
>                 URL: https://issues.apache.org/jira/browse/JCR-2959
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-core
>    Affects Versions: 2.2.1
>            Reporter: Robert Seidel
>            Priority: Minor
>         Attachments: JCR-2959.patch
>
>
> Currently all SQL2 queries with "order by" expression are sorted with Collections.sort - which is slow and very bad if there are lots of hits. Lucene should be used for sorting hits instead.



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