[
https://issues.apache.org/jira/browse/SOLR-1814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106518#comment-13106518
]
Antoine Le Floc'h commented on SOLR-1814:
-----------------------------------------
Actually, could anybody confirm that there is no other way to count the
distinct number of elements in a field right now ?
Also the advantage of JIRA SOLR-1814 is we don't need to compute actual facets
like in JIRA SOLR-2242 ? Is that right ?
> select count(distinct fieldname) in SOLR
> ----------------------------------------
>
> Key: SOLR-1814
> URL: https://issues.apache.org/jira/browse/SOLR-1814
> Project: Solr
> Issue Type: New Feature
> Components: SearchComponents - other
> Affects Versions: 1.5
> Reporter: Marcus Herou
> Fix For: 3.5, 4.0
>
> Attachments: CountComponent.java
>
>
> I have seen questions on the mailinglist about having the functionality for
> counting distinct on a field. We at Tailsweep as well want to that in for
> example our blogsearch.
> Example:
> "You had 1345 hits on 244 blogs"
> The 244 part is not possible in SOLR today (correct me if I am wrong). So
> I've written a component which does this. Attaching it.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]