@Rohit you can look into this.
http://www.javaworld.com/article/2074996/hashcode-and-equals-method-in-java-object---a-pragmatic-concept.html
A good article for hashcode and equals
--
View this message in context:
http://lucene.472066.n3.nabble.com/Sorting-Problem-with-custom-ValueSourceParser
I tried returning false in equals method but still it has no effect.
Btw is there any documentation where i can look at what the functions are
used for. I can't find any proper documentation related to it. It is very
difficult to guess the usage of the functions.
I don't think it will be a good i
Hi Hoss,
Thanks for the response. Will make the necessary changes and get back to
you.
Btw this is just a testing code. The logic is yet to be implemented. What
according to you could be the best way to return hashcode?
Regards,
Rohit
On Oct 5, 2016 5:27 AM, "Chris Hostetter" wrote:
>
> : Eg:
: Eg: if i make a query to sort by func(cost) desc
: It works.
: Now if i change cost with some another field eg func(rating) desc
: It sorts the result by cost only.
:
: Now if i restart the solr server and call sort by func(rating) it works but
: now it will stick with rating
:
: Any idea why