Use group=true and group.field in your query. And your solr version should be solr 3.4 and above.
Thanks, Ravi -- View this message in context: http://lucene.472066.n3.nabble.com/Group-by-distance-tp3934876p3934886.html Sent from the Solr - User mailing list archive at Nabble.com.