In Solr I have to fetch list of all available brands on selecting a category.
I have set fq=brand%3A"Flipkart"
and in facets I set facet=true&facet.field=brand
.
Initially when fq
is not set for all brands i have some count value but when i apply brand as "Flipkart" the counts of other brands go down to zero. How can I still retrieve those initial counts of all brands? Result produced is as expected but count of brand goes down.