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 12:55:00 UTC

[jira] [Created] (SOLR-7527) Need count of facet.pivot on distinct combination

Nagabhushan created SOLR-7527:
---------------------------------

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