lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From preetesh dubey <dubeypreet...@gmail.com>
Subject Re: Which patch 236 to choose for collapse - Solr 3.5
Date Thu, 02 Feb 2012 13:41:29 GMT
Hi,
I am talking about post grouping only.
<int name="matches">5017</int>
<int name="ngroups">4062</int>
gives you the total no. of groups. If you iterate through all groups and do
the sum of counts in each group, you will get the same number as in
"matches".
in above example total no. of groups is 4062 and total no. of docs is 5017.
if u get the sum of docs of all groups then u it will give u 5017.

On Thu, Feb 2, 2012 at 6:52 PM, tamanjit.bindra@yahoo.co.in <
tamanjit.bindra@yahoo.co.in> wrote:

> No my question is post grouping.
> If group.limit=5 then a group may have 5 docs or less. So if i have to find
> out total number of docs returned post grouping i will have to see the
> count
> of docs in each group which may be any one of these - 5 or 4 or 3 or 2 or
> 1.
>
> So does that mean i have to iterate and find out the actual docs with me?
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Which-patch-236-to-choose-for-collapse-Solr-3-5-tp3697685p3709814.html
> Sent from the Solr - User mailing list archive at Nabble.com.
>



-- 
Thanks & Regards
Preetesh Dubey

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