: with cache warming in Solr I found that the order of the Query objects
: within the filters list makes a difference to the equals() and hashCode()
: methods.
...
: I found that it resulted in a cache miss for two queries that have the same
: results just because the filters had a
I've opened SOLR-2716 (https://issues.apache.org/jira/browse/SOLR-2716).
Would it be possible to use a custom class or List implementation which
generates a hash code in such a way that the order they are combined makes
no difference? The change only really needs to effect whether a key is
: Would it be possible to use a custom class or List implementation which
: generates a hash code in such a way that the order they are combined makes
: no difference? The change only really needs to effect whether a key is
: selected from the cache rather than altering the order of the filters.