Hi Joel,
I just tested with custom equals and hashcode ... what I basically did
is that I created a string object based on all the function values and
used this for the equals (with an instanceof) and for the hash method.
The result was quite the same as before, all treszults are cashed
unless I
That's a possibility, I'll try that and report on the effects. Thanks,
Mathias
Am 24.10.2013 16:52 schrieb "Joel Bernstein" :
> Mathias,
>
> I'd have to do a close review of the function sort code to be sure, but I
> suspect if you implement the equals() method on the ValueSource it should
> sol
Mathias,
I'd have to do a close review of the function sort code to be sure, but I
suspect if you implement the equals() method on the ValueSource it should
solve your caching issue. Also implement hashCode().
Joel
On Thu, Oct 24, 2013 at 10:35 AM, Shawn Heisey wrote:
> On 10/24/2013 5:35 AM,
On 10/24/2013 5:35 AM, Mathias Lux wrote:
> I've written a custom function, which is able to provide a distance
> based on some DocValues to re-sort result lists. This basically works
> great, but we've got the problem that if I don't change the query, but
> the function parameters, Solr delivers a