Query on facet field results...

       When I run a facet query on some field say : facet=on &
facet.field=StudyID I get list of distinct StudyID list with the count that
tells that how many times did this study occur in the search query.  But I
also needed the count of these distinct StudyID list.. Any solr query to get
count of it..



Example:



   <lst name="*facet_fields*">

    <lst name=" StudyID ">

  <int name="*105*">135164</int>

  <int name="*179*">79820</int>

  <int name="*107*">70815</int>

  <int name="*120*">37076</int>

  <int name="*134*">35276</int>

  </lst>

</lst>



I wanted the count attribute that shall return the count of number of
different studyID occurred .. In above example  it could be  : Count = 5
(105,179,107,120,134)



<lst name="*facet_fields*">

 <lst name=" StudyID "  COUNT=5 >

  <int name="*105*">135164</int>

  <int name="*179*">79820</int>

  <int name="*107*">70815</int>

  <int name="*120*">37076</int>

  <int name="*134*">35276</int>

  </lst>

</lst>

Reply via email to