lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Venkateswarlu Bommineni <bvr...@gmail.com>
Subject Count of grouped results
Date Thu, 18 Oct 2018 16:58:17 GMT
Hello All,

I have a requirement to group and show the total number of results.

Example :

Solr has 10 documnets with 3 docs has rank (which is a field) 1 , 3 docs
has rank 2 and 3 has rank 3.

when i do goup=ture and group.field=rank & group.limit=3 &
group.ngroups=true

I am getting the grouped results properly with 3 groups which has 3 docs
each.

and ngroups count is 3.

Question : Is there any way i can get count 9 as i have 3 groups with 3
docs in each group.

Please help me here to achive this.

THanks,
Venkat.

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