You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Petter Remen (JIRA)" <ji...@apache.org> on 2013/03/23 08:51:16 UTC

[jira] [Comment Edited] (SOLR-3819) Facet count not working when tagging & excluding filters for range facets with group.facet true

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

Petter Remen edited comment on SOLR-3819 at 3/23/13 7:50 AM:
-------------------------------------------------------------

[This patch|^SOLR-3819.patch] works for me. Tested against trunk and 4.2
                
      was (Author: petterremen):
    This patch works for me. Tested against trunk and 4.2
                  
> Facet count not working when tagging & excluding filters for range facets with group.facet true
> -----------------------------------------------------------------------------------------------
>
>                 Key: SOLR-3819
>                 URL: https://issues.apache.org/jira/browse/SOLR-3819
>             Project: Solr
>          Issue Type: Bug
>          Components: search
>    Affects Versions: 4.0-BETA
>         Environment:  12.0.0 Darwin Kernel Version 12.0.
>            Reporter: Ricardo Merizalde
>         Attachments: SOLR-3819.patch
>
>
> I'm creating a range facet and I want to support multiple selection for it. However, when I set group.facet on the tags/exclusions for filters stop working. In other words, I only get the facet values for the filtered documents. The following link works:
> http://localhost:8983/solr/catalogPreview/select?q=*:*&facet=true&wt=xml&rows=0&facet.range={!ex%3DsalePrice}salePrice&f.salePrice.facet.range.gap=75&f.salePrice.facet.range.start=100&f.salePrice.facet.range.end=600&group=true&group.field=productId&f.salePrice.facet.mincount=1&fq={!tag=salePrice}salePrice:[100%20TO%20175]&group.facet=false
> The following doesn't:
> http://localhost:8983/solr/catalogPreview/select?q=*:*&facet=true&wt=xml&rows=0&facet.range={!ex%3DsalePrice}salePrice&f.salePrice.facet.range.gap=75&f.salePrice.facet.range.start=100&f.salePrice.facet.range.end=600&group=true&group.field=productId&f.salePrice.facet.mincount=1&fq={!tag=salePrice}salePrice:[100%20TO%20175]&group.facet=true

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