Victor Igumnov created SOLR-10194:
-------------------------------------

             Summary: Unable to use the UninvertedField implementation with 
legacy facets
                 Key: SOLR-10194
                 URL: https://issues.apache.org/jira/browse/SOLR-10194
             Project: Solr
          Issue Type: Bug
      Security Level: Public (Default Security Level. Issues are Public)
          Components: SolrCloud
    Affects Versions: 6.4.1, 6.3, 6.2
         Environment: Linux
            Reporter: Victor Igumnov
            Priority: Minor


FacetComponent's method "modifyRequestForFieldFacets" modifies the distributed 
facet request and sets the mincount count to zero which then the SimpleFacets 
implementation is unable to get into the UIF code block when facet.method=uif 
is applied. The workaround which I found is to use facet.distrib.mco=true which 
sets the mincount to one instead of zero. 

Working:

http://somehost:9100/solr/collection/select?facet.method=uif&facet.field=attribute&q=*:*&facet=true&debug=true&facet.distrib.mco=true
 

None-Working:

http://somehost:9100/solr/collection/select?facet.method=uif&facet.field=attribute&q=*:*&facet=true&debug=true&facet.distrib.mco=false

Semi-working when it isn't a distributed call:

http://somehost:9100/solr/collection/select?facet.method=uif&facet.field=attribute&q=*:*&facet=true&debug=true&facet.distrib.mco=false&distrib=false

Just make sure to run it on a multi-shard setup. 




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to