Solr
  1. Solr
  2. SOLR-5634

getNGroups returns null if group.format=simple and group.ngroups=true

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 4.3.1, 4.6
    • Fix Version/s: 4.7, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      getNGroups returns null if group.format=simple and group.ngroups=true, though this information is present in the response, but ignored, when there are no groups (which is true if group.format=simple, because the groups are collapsed).

      1. SOLR-5634.patch
        7 kB
        Artem Lukanin

        Activity

        Hide
        Artem Lukanin added a comment -

        Attached a PATCH, resolving the issue.

        Show
        Artem Lukanin added a comment - Attached a PATCH, resolving the issue.
        Hide
        ASF subversion and git services added a comment -

        Commit 1563392 from shalin@apache.org in branch 'dev/trunk'
        [ https://svn.apache.org/r1563392 ]

        SOLR-5634: SolrJ GroupCommand.getNGroups returns null if group.format=simple and group.ngroups=true

        Show
        ASF subversion and git services added a comment - Commit 1563392 from shalin@apache.org in branch 'dev/trunk' [ https://svn.apache.org/r1563392 ] SOLR-5634 : SolrJ GroupCommand.getNGroups returns null if group.format=simple and group.ngroups=true
        Hide
        ASF subversion and git services added a comment -

        Commit 1563393 from shalin@apache.org in branch 'dev/branches/branch_4x'
        [ https://svn.apache.org/r1563393 ]

        SOLR-5634: SolrJ GroupCommand.getNGroups returns null if group.format=simple and group.ngroups=true

        Show
        ASF subversion and git services added a comment - Commit 1563393 from shalin@apache.org in branch 'dev/branches/branch_4x' [ https://svn.apache.org/r1563393 ] SOLR-5634 : SolrJ GroupCommand.getNGroups returns null if group.format=simple and group.ngroups=true
        Hide
        Shalin Shekhar Mangar added a comment -

        Thanks Artem!

        Show
        Shalin Shekhar Mangar added a comment - Thanks Artem!
        Hide
        Artem Lukanin added a comment -

        I am glad to help!

        Show
        Artem Lukanin added a comment - I am glad to help!

          People

          • Assignee:
            Shalin Shekhar Mangar
            Reporter:
            Artem Lukanin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development