You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Andrew Lundgren (JIRA)" <ji...@apache.org> on 2013/02/05 03:43:11 UTC

[jira] [Comment Edited] (SOLR-2850) Do not refine facets when minCount == 1

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

Andrew Lundgren edited comment on SOLR-2850 at 2/5/13 2:41 AM:
---------------------------------------------------------------

Modify the code to not refine facets when it is not needed.

While this issue exists all the way back into 3.4, at least, I just created the patch for branch/4x.
                
      was (Author: lundgren):
    Modify the code to not refine facets when it is not needed.
                  
> Do not refine facets when minCount == 1
> ---------------------------------------
>
>                 Key: SOLR-2850
>                 URL: https://issues.apache.org/jira/browse/SOLR-2850
>             Project: Solr
>          Issue Type: Improvement
>          Components: SearchComponents - other
>    Affects Versions: 3.4
>         Environment: Ubuntu, distributed
>            Reporter: Matt Smith
>         Attachments: SOLR-2850.patch
>
>
> Currently there is a special case in the code to not refine facets if minCount==0.  It seems this could be extended to minCount <= 1 as there would be no need to take the extra step to refine facets if minCount is 1.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org