I am not sure I fully understood your question, but I would start by looking at Tagging and Excluding first: https://wiki.apache.org/solr/SimpleFacetParameters#Tagging_and_excluding_Filters
Regards, Alex. Personal: http://www.outerthoughts.com/ and @arafalov Solr resources and newsletter: http://www.solr-start.com/ and @solrstart Solr popularizers community: https://www.linkedin.com/groups?gid=6713853 On Wed, Jul 30, 2014 at 5:07 PM, Smitha Rajiv <smitharaji...@gmail.com> wrote: > Hi, > > > I need some help on Solr Faceting. > > > How do I facet on two fields at the same time to get combination facets and > its count? > > I'm using below query to get facets with combination of language and its > binding. But now I'm getting only selected facet in facetList of each > field and its count. For e.g. in language facets the query is returning > "English" and its count. Instead I need to get other language facets which > satisfies binding type of paperback > > > > http://localhost:8080/solr/collection1/select?q=software%20testing&fq=language%3A(%22English%22)&fq=Binding%3A(%22paperback%22)&facet=true&facet.mincount=1 > > &facet.field=Language&facet.field=latestArrivals&facet.field=Binding&wt=json&indent=true&defType=edismax& > json.nl=map > > > > Please provide me your inputs. > > > Thanks & Regards, > > Smitha