Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2955

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.5, 4.0-ALPHA
    • 3.6, 4.0-ALPHA
    • search
    • 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.

      Attachments

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

        Activity

          People

            martijn.v.groningen Martijn van Groningen
            seg Steffen Elberg Godskesen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: