lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahson Iqbal <>
Subject Re: question about Field Collapsing/ grouping
Date Wed, 14 Sep 2011 08:22:26 GMT
Hi Jayendra

Thanks a lot  for your response, now i have two questions one that to get the count of groups
is it must to apply the specified patch, if so can you help me a little how i can apply that
patch in steps as i am new to solr/java.


----- Original Message -----
From: Jayendra Patil <>
To:; Ahson Iqbal <>
Sent: Tuesday, September 13, 2011 10:55 AM
Subject: Re: question about Field Collapsing/ grouping

The time we implemented the feature, there was no straight forward solution.

What we did is to facet on the grouped by field and counting the facets.
This would give you the distinct count for the groups.

You may also want to check the Patch @, which will return the
facet counts and you need to count it by yourself.


On Tue, Sep 13, 2011 at 1:27 AM, Ahson Iqbal <> wrote:
> Hi
> Is it possible to get number of groups that matched with specified query.
> like let say there are three fields in index
> DocumentID
> Content
> Industry
> and now i want to query as +(Content:is Content:the)
> group=true&group.field=industry
> now is it possible to get how many industries matched with specified query.
> Please help.
> Regards
> Ahsan

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message