In other words... to diagnose such a problem it would really help to see the exact parameters and filters you are using on each of the searches.
Mary Jo On Thu, Jun 2, 2016 at 1:47 PM, Jamal, Sarfaraz < sarfaraz.ja...@verizonwireless.com.invalid> wrote: > Hello Everyone, > > I am working on implementing some basic faceting into my project. > > I have it working the way I want to, but I feel like there is probably a > better way the way I went about it. > > * I want to show a category and its count. > * when someone clicks a category, it sets a FQ= to that category. > > But now that the results are being filtered, the category counts from the > original query without the filters are off. > > So, I have a single api call that I make with rows set to 0 and the base > query without any filters, and use that to display my categories. > > And then I call the api again, this time to get the results. And the > category count is the same. > > I hope that makes sense. > > I was hoping facet.query would be of help, but I am not sure I understood > it properly. > > Thanks in advance =) > > Sas >