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

Reply via email to