Hi Moshe, If I understand correctly your needs, I think you want to use the CollapsingQParser post filter:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=40509582 I think that, basically, adding this filter to your query should solve your problem: fq={!collapse field=document_id_field max=revision_field} Ludovic. ----- Jouve France. -- View this message in context: http://lucene.472066.n3.nabble.com/How-to-get-results-of-comparison-between-documents-tp4143389p4143458.html Sent from the Solr - User mailing list archive at Nabble.com.