You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Dallan Quass (JIRA)" <ji...@apache.org> on 2009/06/04 15:51:07 UTC

[jira] Created: (SOLR-1202) Field facets missing in distributed queries when facet.sort=index and facet.mincount>0

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.


[jira] Resolved: (SOLR-1202) Field facets missing in distributed queries when facet.sort=index and facet.mincount>0

Posted by "Yonik Seeley (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-1202?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Yonik Seeley resolved SOLR-1202.
--------------------------------

    Resolution: Fixed

Thanks Dallan, I just committed a fix.

> 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.