Solr
  1. Solr
  2. SOLR-2955

Distributed grouping throws IllegalStateException when querying with group.sort=score desc

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.5, 4.0-ALPHA
    • Fix Version/s: 3.6, 4.0-ALPHA
    • Component/s: search
    • Environment:

      Mac OS X 10.7.2
      Java version "1.6.0_29"
      Java(TM) SE Runtime Environment (build 1.6.0_29-b11-402-11M3527)
      Java HotSpot(TM) 64-Bit Server VM (build 20.4-b02-402, mixed mode)

      Description

      To reproduce:

      This will log

      Dec 8, 2011 10:01:23 AM org.apache.solr.common.SolrException log
      SEVERE: java.lang.IllegalStateException: All required fields must be set
      	at org.apache.solr.search.grouping.distributed.command.TopGroupsFieldCommand$Builder.build(TopGroupsFieldCommand.java:94)
      	at org.apache.solr.handler.component.QueryComponent.process(QueryComponent.java:291)
      	at org.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:194)
      	.
      	.
      

      For other (legal) values of group.sort or without the shards parameter, the query succeeds.

      1. SOLR-2955.patch
        2 kB
        Steffen Elberg Godskesen
      2. SOLR-2955.patch
        3 kB
        Martijn van Groningen

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Martijn van Groningen
            Reporter:
            Steffen Elberg Godskesen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development