lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siddharth Modala <modalasiddha...@gmail.com>
Subject Re: JSON-Facet ignoring excludeTags when numFound is 0
Date Thu, 05 May 2016 19:37:49 GMT
Thanks Yonik,

That fixed the issue. Will this experimental flag be removed from future
versions?

Is there any other webpage apart from your blog(which is btw really
awesome) where I can find more info on the new facet module(like info reg
the processEmpty flag e.t.c)?
On May 5, 2016 2:37 PM, "Yonik Seeley" <yseeley@gmail.com> wrote:

> On Thu, May 5, 2016 at 2:27 PM, Siddharth Modala
> <modalasiddharth@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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message