Thanks Erick,

yes example url i provided is bit confusing, sorry for that.

Actual requirement is to get day wise total no. of counts for multiple
terms.

if we use q=(firstterm OR
secondterm)&facet.query=firstterm&facet.query=secondTerm. It will provide
total no. of records count for both search term, but not day wise
(facet.range will have combine results of both.)

need something like below (just sample),

<lst name="facet_queries">
  <lst name="firstterm">
     <lst name="facet_ranges">
       <lst name="datefield">
         <lst name="counts">
              <int name="2013-06-09T00:00:00Z">10551</int>
              <int name="2013-06-10T00:00:00Z">20802</int>
          </lst>
        </lst>
     </lst>
    </lst>
   <lst name="secondterm">
     <lst name="facet_ranges">
       <lst name="datefield">
         <lst name="counts">
              <int name="2013-06-09T00:00:00Z">100</int>
              <int name="2013-06-10T00:00:00Z">5</int>
          </lst>
        </lst>
     </lst>
    </lst>
</lst>




--
View this message in context: 
http://lucene.472066.n3.nabble.com/solr-facet-query-on-multiple-search-term-tp4068856p4069259.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to