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