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

Elran Dvir commented on SOLR-5428:
----------------------------------

I think it should work on multi-value fields. It works as any other stats 
functions.

> new statistics results to StatsComponent - distinctValues and countDistinct
> ---------------------------------------------------------------------------
>
>                 Key: SOLR-5428
>                 URL: https://issues.apache.org/jira/browse/SOLR-5428
>             Project: Solr
>          Issue Type: New Feature
>            Reporter: Elran Dvir
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 4.7, 5.0
>
>         Attachments: SOLR-5428.patch, SOLR-5428.patch
>
>
> I thought it would be very useful to display the distinct values (and the 
> count) of a field among other statistics. Attached a patch implementing this 
> in StatsComponent.
> Added results  :
> "distinctValues" - list of all distnict values
> "countDistinct" -  distnict values count.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to