SOLR-2242 can do it. On 9/16/11 2:15 AM, "swiss knife" <swiss_kn...@email.com> wrote:
>I could get this number by using > > group.ngroups=true&group.limit=0 > > but doing grouping for this seems like an overkill > > Would you advise using JIRA SOLR-1814 ? > >----- Original Message ----- >From: swiss knife >Sent: 09/15/11 12:43 PM >To: solr-user@lucene.apache.org >Subject: Distinct elements in a field > > Simple question: I want to know how many distinct elements I have in a >field and these verify a query. Do you know if there's a way to do it >today in 3.4. I saw SOLR-1814 and SOLR-2242. SOLR-1814 seems fairly easy >to use. What do you think ? Thank you