You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Elran Dvir (JIRA)" <ji...@apache.org> on 2014/03/02 08:10:20 UTC

[jira] [Commented] (SOLR-5428) new statistics results to StatsComponent - distinctValues and countDistinct

    [ 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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org