@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-tp4299571p4304279.html Sent from the Solr - User mailing list archive at Nabble.com.