[ https://issues.apache.org/jira/browse/SOLR-5428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13827736#comment-13827736 ]
Elran Dvir commented on SOLR-5428: ---------------------------------- I attached a new patch. Now stats component contains new parameter "calcdistinict". By default it's false. It can be set per field (f.field.stats.calcdistinct) Let me know what you think. > 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 > 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#6144) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org