Re: Distinct elements in a field

2011-09-17 Thread Ken Krugler
On Sep 15, 2011, at 3:43am, swiss knife wrote: > 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 t

Re: Distinct elements in a field

2011-09-17 Thread Bill Bell
SOLR-2242 can do it. On 9/16/11 2:15 AM, "swiss knife" 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/

Re: Distinct elements in a field

2011-09-16 Thread swiss knife
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