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

2013-02-05 Thread Adrien Grand (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand updated SOLR-2850:
---

Attachment: SOLR-2850.patch

Looks good. I've hit a similar issue with facet.sort=count so I updated your 
patch.

Tests passed, I'll commit soon unless someone objects.

> 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, 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



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

2013-02-01 Thread Andrew Lundgren (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-2850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Lundgren updated SOLR-2850:
--

Attachment: SOLR-2850.patch

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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org