You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Steffen Elberg Godskesen (Updated) (JIRA)" <ji...@apache.org> on 2011/12/08 12:42:40 UTC
[jira] [Updated] (SOLR-2955) Distributed grouping throws
IllegalStateException when querying with group.sort=score desc
[ https://issues.apache.org/jira/browse/SOLR-2955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steffen Elberg Godskesen updated SOLR-2955:
-------------------------------------------
Attachment: SOLR-2955.patch
This patch add a failing unit test
> Distributed grouping throws IllegalStateException when querying with group.sort=score desc
> ------------------------------------------------------------------------------------------
>
> Key: SOLR-2955
> URL: https://issues.apache.org/jira/browse/SOLR-2955
> Project: Solr
> Issue Type: Bug
> Components: search
> Affects Versions: 3.6, 4.0
> 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)
> Reporter: Steffen Elberg Godskesen
> Labels: collapse, exception, grouping
> Attachments: SOLR-2955.patch
>
>
> To reproduce:
> * Start example configuration from 3.6 or 4.0 distribution, and add example .xml documents to index
> * Query: http://localhost:8983/solr/select?q=*:*&sort=id%20asc&group=true&group.sort=score%20desc&group.field=manu_id_s&shards=localhost:8983/solr
> This will log
> {noformat}
> 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)
> .
> .
> {noformat}
> For other (legal) values of group.sort or without the shards parameter, the query succeeds.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org