Re: How to combine facets count from multiple query into one query

2009-05-11 Thread gwk
Hi, Not sure if this is what you want, but would this do what you need? fq={!tag=p1}publisher_name:publisher1&fq={!tag=p2}publisher_name:publisher2&q=abstract:philosophy&facet=true&facet.mincount=1&facet.field={!ex=p1 key=p2_book_title}book_title&facet.field={!ex=p2 key=p1_book_title}book_titl

Re: How to combine facets count from multiple query into one query

2009-05-10 Thread Phil Chadwick
Jeffrey Tiong wrote: > > Hi, > > I have a schema that has the following fields, > > publisher_name > book_title > year > abstract > > Currently if I do a facet count when I have a query "q=abstract:philosophy > AND publisher_name:publisher1" , it can give me results like below, > > abstract:phi

How to combine facets count from multiple query into one query

2009-05-10 Thread Jeffrey Tiong
Hi, I have a schema that has the following fields, publisher_name book_title year abstract Currently if I do a facet count when I have a query "q=abstract:philosophy AND publisher_name:publisher1" , it can give me results like below, abstract:philosophy AND publisher_name:publisher1 70