[
https://issues.apache.org/jira/browse/SOLR-5428?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13822400#comment-13822400
]
Shalin Shekhar Mangar commented on SOLR-5428:
---------------------------------------------
Thanks for the patch Elran. Collecting the 'distinctValues' is a very expensive
operation. There should be a way to stop the collection of these two statistics.
Have you seen the LukeRequestHandler? Using the fl and maxTerms params I think
you can get the same information.
http://wiki.apache.org/solr/LukeRequestHandler
> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]