[
https://issues.apache.org/jira/browse/LUCENE-1481?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654070#action_12654070
]
Michael McCandless commented on LUCENE-1481:
--------------------------------------------
This sounds reasonable. Probably we could do a separate patch, here, and
resolve this first?
> Sort and SortField does not have equals() and hashCode()
> --------------------------------------------------------
>
> Key: LUCENE-1481
> URL: https://issues.apache.org/jira/browse/LUCENE-1481
> Project: Lucene - Java
> Issue Type: Bug
> Components: Query/Scoring
> Affects Versions: 2.4
> Reporter: Uwe Schindler
> Assignee: Michael McCandless
>
> During developing for my project panFMP I had the following issue:
> I have a cache for queries (like Solr has, too) for query results. This
> cache also uses the Sort/SortField as key into the cache. The problem is,
> because Sort/SortField does not implement equals() and hashCode(), you cannot
> store them as cache keys. To workaround, currently I use Sort.toString() as
> cache key, but this is not so nice.
> In corelation with issue LUCENE-1478, I could fix this there in one patch
> together with the other improvements.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]