You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bill Bell (JIRA)" <ji...@apache.org> on 2010/11/16 23:05:23 UTC

[jira] Commented: (SOLR-1814) select count(distinct fieldname) in SOLR

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

Bill Bell commented on SOLR-1814:
---------------------------------

If you remove trove, we can probably include this component.

Please provide a patch that can be applied to SOLR.



> 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: Next
>
>         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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org