On Thu, May 5, 2016 at 2:27 PM, Siddharth Modala
<modalasiddha...@gmail.com> wrote:
> Hi All,
>
> We are facing the following issue where Json Facet with excludeTag  doesn't
> return any results  when numFound=0, even though excluding the filter will
> result in matching few docs. (Note: excludeTag works when numFound is > 0)

Yeah, we perhaps need to be smarter at knowing when a 0 result could
still yield useful sub-facets.
For now, there is an experimental flag you can add to the facet block:
processEmpty:true

So in your case:
json.facet={
      processEmpty:true,
      exCounts:{type:terms, field:group_id_s,limit=-1,
         domain:{excludeTags:AMOUNT} },
 }

-Yonik

Reply via email to