Hi, I would like get the total count of the facet.field response values:
i.e. if my response id <lst name="manu"> <int name="Canon USA">17</int> <int name="Olympus">12</int> <int name="Sony">12</int> <int name="Panasonic">9</int> <int name="Nikon">4</int> </lst> I would like the count of uniques names found as 5 ("Canon USA"+"Olympus"+"Sony"+"Panasonic"+"Nikon") On Fri, Jul 16, 2010 at 7:28 PM, kenf_nc <ken.fos...@realestate.com> wrote: > > 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. >