You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Cassandra Targett (JIRA)" <ji...@apache.org> on 2018/01/11 20:37:00 UTC
[jira] [Closed] (SOLR-6174) Facet count incorrect when duplicate
facet queries (facet.query) are specified
[ https://issues.apache.org/jira/browse/SOLR-6174?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Cassandra Targett closed SOLR-6174.
-----------------------------------
> Facet count incorrect when duplicate facet queries (facet.query) are specified
> ------------------------------------------------------------------------------
>
> Key: SOLR-6174
> URL: https://issues.apache.org/jira/browse/SOLR-6174
> Project: Solr
> Issue Type: Bug
> Affects Versions: 4.7.2
> Reporter: Scott Smerchek
> Priority: Minor
> Labels: facet
>
> A request like:
> {{facet=true&facet.query=test}} correctly returns
> {noformat}
> {
> "facet_counts": {
> "facet_queries": {
> "test": 3
> }
> }
> }
> {noformat}
> But, specifying the {{facet.query}} more than once like {{facet=true&facet.query=test&facet.query=test}} will sum the results of both queries, returning double the correct count.
> {noformat}
> {
> "facet_counts": {
> "facet_queries": {
> "test": 6
> }
> }
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org