You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Nagabhushan (JIRA)" <ji...@apache.org> on 2015/05/12 13:08:59 UTC
[jira] [Updated] (SOLR-7527) Need count of facet.pivot on distinct
combination
[ https://issues.apache.org/jira/browse/SOLR-7527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nagabhushan updated SOLR-7527:
------------------------------
Priority: Major (was: Trivial)
> Need count of facet.pivot on distinct combination
> -------------------------------------------------
>
> Key: SOLR-7527
> URL: https://issues.apache.org/jira/browse/SOLR-7527
> Project: Solr
> Issue Type: Task
> Reporter: Nagabhushan
>
> Hi I need to get action wise count in a campaign. Using facet.pivot=campaignId,action to get it.
> Ex : campaignId,id,action
> 1,1,a
> 1,1,a
> 1,2,a
> 1,2,b
> When I do facet.pivot I get {a:3,b:1}, Facet considers duplicate rows in count.
> I need distinct by combination of campaignId,id,action which is {a:2,b:1}
> Thanks,
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org