Field facets missing in distributed queries when facet.sort=index and 
facet.mincount>0
--------------------------------------------------------------------------------------

                 Key: SOLR-1202
                 URL: https://issues.apache.org/jira/browse/SOLR-1202
             Project: Solr
          Issue Type: Bug
          Components: search
    Affects Versions: 1.4
            Reporter: Dallan Quass
             Fix For: 1.4


On line 385 of FacetComponent.java, the line:

if (counts[i].count < dff.minCount) break;

will cause some facets to not be returned in the case where facet.sort=index 
and facet.mincount>0.

To fix, you could add a condition where you checked whether the facets were 
sorted by count.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to