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 6786051
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:11:59+00:00 2026-05-26T17:11:59+00:00

http://localhost:8080/solr/select?q=(apposta apposta per) OR (sue prime ore al)&group=true&group.field=grouping_field&group.limit=5 This query returns 2 groups first

  • 0

http://localhost:8080/solr/select?q=(apposta apposta per) OR (sue prime ore al)&group=true&group.field=grouping_field&group.limit=5

This query returns 2 groups first group has 1 document and second group has 2 documents.

In response I see count of documents(3) but there is no counts of groups.
How can I get count of groups.

  • 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-05-26T17:11:59+00:00Added an answer on May 26, 2026 at 5:11 pm

    Use group.ngroups=true to include the number of groups in the response.

    More info @ http://wiki.apache.org/solr/FieldCollapsing

    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

I have a problem with SOLR terms. My query is http://localhost:8080/solr/terms?terms=true&terms.lower.incl=false&indent=true&wt=json&terms.fl=a_dm_testo&terms.prefix=quel Response from SOLR
Suppose I have this text to match: http://localhost:8080/start.jsp;jsessionid=9E4CDB636248C9610F57704E5E07F782?whatever=true&somethingelse=true Using this regular expression: ^(.*?start\.jsp)(?:\;jsessionid=[^\?#]*)?(\?[^#]*)?(#.*)?$ The
I'm having a solr query http://localhost:8080/solr/select/?q=A.I need to read the parameter q in my
http://localhost:8080/file.jsp?arg1=&arg2=11 runs successfully http://localhost:8080/file.jsp?arg1=&arg2= (empty value for argument 'arg2') shows 500 Internal Server Error
I am trying to grab a value from a url: http://localhost:8080/bin/task_status?id=2&cmd=percent_done I am unsure
http://localhost:8080/search/terms?terms.prefix=ab&terms.fl=text&terms.sort=count I have the above terms query which works as I expect. Returns all
Plz suggest, how I can run command=full-import? SolrServer solrServer = new HttpSolrServer(http://localhost:8080/solr); And what
How do I match the following string? http://localhost:8080/MenuTest/index.action The regex should return true if
I am getting this weird exception on this line: HttpSolrServer server = new HttpSolrServer(http://localhost:8080/solr/);
I have an url which looks something like this: url = 'http://localhost:8080/?q=abc%26def&other_params=here' Accessing this

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.