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/13 12:08:00 UTC

[jira] [Created] (SOLR-7538) Get count of facet.pivot on distinct combination of fileds

Nagabhushan created SOLR-7538:
---------------------------------

             Summary: Get count of facet.pivot on distinct combination of fileds
                 Key: SOLR-7538
                 URL: https://issues.apache.org/jira/browse/SOLR-7538
             Project: Solr
          Issue Type: Task
         Environment: 4.10
            Reporter: Nagabhushan
            Priority: Trivial


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