You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Alex Parvulescu (JIRA)" <ji...@apache.org> on 2011/08/12 17:01:34 UTC

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

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

Alex Parvulescu updated JCR-2959:
---------------------------------

    Priority: Minor  (was: Major)
     Summary: SQL2 QueryEngine should use Lucene for sort  (was: SQL2 "order by" can't be used - QueryEngine should use Lucene for sort instead of Collections.sort (line 327))

I've changed the name, it was a bit too inflammatory :)

I agree with the idea that we should investigate native lucene search, with custom hooks into JR for fetching Node data.

> 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
>
> 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 is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira