It may just be a mis-wording, but if you do distinct on 'unique' IDs, the count should be the same as response.numFound. But if you didn't mean 'unique', just count of some field in the results, Rebecca is correct, facets should do the job. Something like:
?q=content:query+text&facet=on&facet.field=rootId -- View this message in context: http://lucene.472066.n3.nabble.com/Finding-distinct-unique-IDs-in-documents-returned-by-fq-Urgent-Help-Req-tp971883p972601.html Sent from the Solr - User mailing list archive at Nabble.com.