jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-787) Missing equals and hashcode preventing the re-use of SharedFieldSortComparator
Date Mon, 12 Mar 2007 17:29:09 GMT

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

Marcel Reutegger resolved JCR-787.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Dave, thank you for creating the jira issue.

For the diff of this change and revision number, see above link.

> Missing equals and hashcode preventing the re-use of SharedFieldSortComparator
> ------------------------------------------------------------------------------
>
>                 Key: JCR-787
>                 URL: https://issues.apache.org/jira/browse/JCR-787
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.2.3
>            Reporter: David Johnson
>            Priority: Minor
>             Fix For: 1.3
>
>
> As briefly mentioned in the dev email list, improperly implemented (i.e., missing - using
the default Object implementation) equals and hashcode in SearchIndex.java prevents the reuse
of a SharedFieldSortComparator between different queries when nothing has changed in the repository.
 In tests, this appears to have a fairly significant negative performance impact.
> Please see the following for the correct code:
> http://svn.apache.org/viewvc?view=rev&revision=506908

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message