lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wei <weiwan...@gmail.com>
Subject Re: facet.method=uif not working in solr cloud?
Date Tue, 13 Feb 2018 01:34:23 GMT
Adding facet.distrib.mco=true did the trick.  Thanks Toke and Alessandro!

Cheers,
Wei

On Thu, Feb 8, 2018 at 1:23 AM, Toke Eskildsen <toes@kb.dk> wrote:

> On Fri, 2018-02-02 at 17:40 -0800, Wei wrote:
> > I tried to debug a bit and see that when executing on a cloud solr
> > server, although I put
> > facet.field=color&q=*:*&facet.method=uif&facet.mincount=1 in
> > the request url, at the point it reaches SimpleFacet inside
> > req.params it somehow has been rewritten
> > to  f.color.facet.mincount=0, no wonder the
> > method chosen become FC. So one myth solved; but the new myth is why
> > the facet.mincount is override to 0 in solr req?
>
> AFAIK, it is due to an attempt of optimisation for distributed
> faceting. The relevant JIRA seems to be https://issues.apache.org/jira/
> browse/SOLR-8988
>
> Try setting facet.distrib.mco=true
>
> - Toke Eskildsen, Royal Danish Library
>
>

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