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
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.