[ 
https://issues.apache.org/jira/browse/SOLR-10194?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15882845#comment-15882845
 ] 

Victor Igumnov commented on SOLR-10194:
---------------------------------------

I actually found the core cause of the performance issue, it was due to too 
many segments on disk. Minimizing the amount of segments on disk brought the 
performance on par with solr 4.10. However, this is still a legitimate bug 
where the use of the UninvertedField implementation is blocked from use without 
the activation of facet.distrib.mco=true. 

I haven't tried docValues with the minimized amount of segments yet, but our 
index leans toward the static side of things so the UninvertedField 
implementation at query time is the ideal use case. 

> 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.2, 6.3, 6.4.1
>         Environment: Linux
>            Reporter: Victor Igumnov
>            Priority: Minor
>              Labels: easyfix
>
> 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