Re: solr facet query on multiple search term

2013-06-11 Thread Chris Hostetter
: Actual requirement is to get day wise total no. of counts for multiple : terms. the approach you described in your original mail (using multiple fqs to identify your terms, and using multiple facet.range requests on the date field with differnet exclusions) will work fine. the confusing part

Re: solr facet query on multiple search term

2013-06-10 Thread Erick Erickson
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 wrote: > Thanks Erick, > > yes example url i provided is bit confusing, sorry for that. > > Actual requirement is

Re: solr facet query on multiple search term

2013-06-09 Thread vrparekh
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

Re: solr facet query on multiple search term

2013-06-07 Thread Erick Erickson
I'm a little confused here. Faceting is about counting docs that meet your query restrictions. I.e. the "q=" and "fq=" clauses. So your original problem statement simply cannot be combined into a single query since your q= clauses are different. You could do something like q=(firstterm OR secondter