Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8825399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T06:52:06+00:00 2026-06-14T06:52:06+00:00

I am using Result Grouping into the SOLR. How can i get the total

  • 0

I am using Result Grouping into the SOLR. How can i get the total number of results? By result I mean the count of grouped data.

For example:

enter image description here

I searched with 2 email addresses (“Kartikeshwar@sterlinghofman.com” OR “milojevics@mail.com”). I got 2 results in the result set. There is numFound attribute in the result node which shows the email address “milojevics@mail.com” matched 16 times and the email address “Kartikeshwar@sterlinghofman.com” matched 28 times. There is a matches attribute which shows the total number of matches (16 + 28 = 44). But i want to know the total number of result set which is 2 (1 for “Kartikeshwar@sterlinghofman.com” + 1 for “milojevics@mail.com”). How can i get that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T06:52:08+00:00Added an answer on June 14, 2026 at 6:52 am

    For the number of groups use the groups.ngroups request parameter which will give you the group count.

    Documentation :-

    group.ngroups
    true/false
    If true, includes the number of groups that have matched the query. Default is false.
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

how can we get distinct result by using criteria in hibernate.
I use grouping with solr 3.3 and solrnet. I want to paginate results using
I'm trying to count total number of results on each row of my SELECT
How to print all the result without using Results.columnname in ColdFusion for ex:- I
The scene: I have indexed many websites using Nutch and Solr. I've implemented result
I am using MongoDB and wanted to count the number of occurrences of each
I am using Json Result to show a table, it is working fine when
How to save query result using T-SQL in a csv file in SSMS 2008?
i'm retrieving strange result using strrpos $link = www.mysite.com/?_vc=1&_pgn=2; $position = strrpos($link,&_pgn=); echo <br/>.$position;
How to set default VALUE in SubQuery result using mysql SELECT p.`id`, p.`name`, p.`class_name`,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.