lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martijn van Groningen (Updated) (JIRA)" <>
Subject [jira] [Updated] (SOLR-3316) Distributed Grouping fails in some scenarios.
Date Thu, 05 Apr 2012 21:54:24 GMT


Martijn van Groningen updated SOLR-3316:

    Attachment: SOLR-3316.patch

Thanks for creating the test case! 

I dived into the issue and I figured out why the matches is wrong when the top groups aren't
retrieved from all shards. The total hit count (matches) is now computed in the first phase
instead of in the second phase. The test passes now.

What is odd is that the grouping request where stats is being used even fails when grouping
is disabled...

I think this issue also occur in all 3.x versions.
> Distributed Grouping fails in some scenarios.
> ---------------------------------------------
>                 Key: SOLR-3316
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>          Components: SearchComponents - other
>    Affects Versions: 4.0
>         Environment: Windows 7, JDK 6u26
>            Reporter: Cody Young
>              Labels: distributed, grouping
>         Attachments: SOLR-3316.patch,
> During a distributed grouping request, if rows is set to 0 a 500 error is returned.
> If groups are unique to a shard and the row count is set to 1, then the matches number
is only the matches from one shard.
> I've put together a failing test.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message