lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Herou (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-1814) select count(distinct fieldname) in SOLR
Date Fri, 12 Mar 2010 10:19:27 GMT

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

Marcus Herou commented on SOLR-1814:
------------------------------------

Ted: I am an idiot about ASL. GNU Trove ( I mixed it up with something else ).

I can add code which uses Trove if available in the CP or plain Hashmaps if not. Think it
exists some good collection utils in commons. Will look it up. Trove however is super.

> 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.4, 1.5, 1.6, 2.0
>            Reporter: Marcus Herou
>             Fix For: 1.4, 1.5, 1.6, 2.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.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message