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

Petter Remen commented on SOLR-3819:
------------------------------------

The same bug also applies when replacing facet.range with a facet.query

The following does not work as expected on my data
{noformat}
q=*:*&
fq={!tag=code}code:ABCDE&
facet=true&
facet.query={!ex=code}*:*&
group=true&
group.facet=true&
group.field=id
rows=0&
{noformat}
                
> 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
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to