Hi Aman, Have a look at this , it has query time approach also using Solr function query,
http://stackoverflow.com/questions/15927893/how-to-check-equality-of-two-solr-fields http://stackoverflow.com/questions/16258605/query-for-document-that-two-fields-are-equal -- View this message in context: http://lucene.472066.n3.nabble.com/Exclude-documents-having-same-data-in-two-fields-tp4233408p4233489.html Sent from the Solr - User mailing list archive at Nabble.com.