There's nothing like that built in that I know of, the closest in concept is "pivot faceting" but that doesn't work in this case.
Best Erick On Mon, Jun 10, 2013 at 2:13 AM, vrparekh <vrpar...@gmail.com> wrote: > 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.