[jira] [Updated] (SOLR-3316) Distributed Grouping fails in some scenarios.

2012-04-06 Thread Martijn van Groningen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn van Groningen updated SOLR-3316:


Fix Version/s: 3.6

> Distributed Grouping fails in some scenarios.
> -
>
> Key: SOLR-3316
> URL: https://issues.apache.org/jira/browse/SOLR-3316
> Project: Solr
>  Issue Type: Bug
>  Components: SearchComponents - other
>Affects Versions: 3.4, 3.5
> Environment: Windows 7, JDK 6u26
>Reporter: Cody Young
>Assignee: Martijn van Groningen
>Priority: Blocker
>  Labels: distributed, grouping
> Fix For: 3.6, 4.0
>
> Attachments: SOLR-3316-3x.patch, SOLR-3316-3x.patch, SOLR-3316.patch, 
> TestDistributedGrouping.java.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: 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3316) Distributed Grouping fails in some scenarios.

2012-04-06 Thread Martijn van Groningen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn van Groningen updated SOLR-3316:


Attachment: SOLR-3316-3x.patch

Updated patch.

> Distributed Grouping fails in some scenarios.
> -
>
> Key: SOLR-3316
> URL: https://issues.apache.org/jira/browse/SOLR-3316
> Project: Solr
>  Issue Type: Bug
>  Components: SearchComponents - other
>Affects Versions: 3.4, 3.5
> Environment: Windows 7, JDK 6u26
>Reporter: Cody Young
>Assignee: Martijn van Groningen
>Priority: Blocker
>  Labels: distributed, grouping
> Fix For: 4.0
>
> Attachments: SOLR-3316-3x.patch, SOLR-3316-3x.patch, SOLR-3316.patch, 
> TestDistributedGrouping.java.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: 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3316) Distributed Grouping fails in some scenarios.

2012-04-06 Thread Martijn van Groningen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn van Groningen updated SOLR-3316:


Fix Version/s: 4.0

> Distributed Grouping fails in some scenarios.
> -
>
> Key: SOLR-3316
> URL: https://issues.apache.org/jira/browse/SOLR-3316
> Project: Solr
>  Issue Type: Bug
>  Components: SearchComponents - other
>Affects Versions: 3.4, 3.5
> Environment: Windows 7, JDK 6u26
>Reporter: Cody Young
>Assignee: Martijn van Groningen
>Priority: Blocker
>  Labels: distributed, grouping
> Fix For: 4.0
>
> Attachments: SOLR-3316-3x.patch, SOLR-3316.patch, 
> TestDistributedGrouping.java.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: 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3316) Distributed Grouping fails in some scenarios.

2012-04-06 Thread Martijn van Groningen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn van Groningen updated SOLR-3316:


Priority: Blocker  (was: Major)

Changed priority to blocker to include this bug fix into the 3.6 release. I 
think the changes are safe. I ran the build several times (with java 5). The 
javadocs task doesn't throw any errors. I also ran the distributed grouping 
test with multiplier of 3:
ant test-core -Dtests.multiplier=3 -Dtestcase=TestDistributedGrouping

If others think the changes aren't safe then the block priority can be removed.

> Distributed Grouping fails in some scenarios.
> -
>
> Key: SOLR-3316
> URL: https://issues.apache.org/jira/browse/SOLR-3316
> Project: Solr
>  Issue Type: Bug
>  Components: SearchComponents - other
>Affects Versions: 3.4, 3.5
> Environment: Windows 7, JDK 6u26
>Reporter: Cody Young
>Assignee: Martijn van Groningen
>Priority: Blocker
>  Labels: distributed, grouping
> Attachments: SOLR-3316-3x.patch, SOLR-3316.patch, 
> TestDistributedGrouping.java.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: 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3316) Distributed Grouping fails in some scenarios.

2012-04-06 Thread Martijn van Groningen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn van Groningen updated SOLR-3316:


Affects Version/s: (was: 4.0)
   3.4
   3.5
 Assignee: Martijn van Groningen

> Distributed Grouping fails in some scenarios.
> -
>
> Key: SOLR-3316
> URL: https://issues.apache.org/jira/browse/SOLR-3316
> Project: Solr
>  Issue Type: Bug
>  Components: SearchComponents - other
>Affects Versions: 3.4, 3.5
> Environment: Windows 7, JDK 6u26
>Reporter: Cody Young
>Assignee: Martijn van Groningen
>  Labels: distributed, grouping
> Attachments: SOLR-3316-3x.patch, SOLR-3316.patch, 
> TestDistributedGrouping.java.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: 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3316) Distributed Grouping fails in some scenarios.

2012-04-06 Thread Martijn van Groningen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martijn van Groningen updated SOLR-3316:


Attachment: SOLR-3316-3x.patch

This issue also occurs in previous 3x releases. Attached a patch that fixes 
that.

> Distributed Grouping fails in some scenarios.
> -
>
> Key: SOLR-3316
> URL: https://issues.apache.org/jira/browse/SOLR-3316
> Project: Solr
>  Issue Type: Bug
>  Components: SearchComponents - other
>Affects Versions: 3.4, 3.5
> Environment: Windows 7, JDK 6u26
>Reporter: Cody Young
>  Labels: distributed, grouping
> Attachments: SOLR-3316-3x.patch, SOLR-3316.patch, 
> TestDistributedGrouping.java.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: 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3316) Distributed Grouping fails in some scenarios.

2012-04-05 Thread Martijn van Groningen (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

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: https://issues.apache.org/jira/browse/SOLR-3316
> 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, TestDistributedGrouping.java.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: 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3316) Distributed Grouping fails in some scenarios.

2012-04-04 Thread Cody Young (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-3316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Cody Young updated SOLR-3316:
-

Attachment: TestDistributedGrouping.java.patch

> Distributed Grouping fails in some scenarios.
> -
>
> Key: SOLR-3316
> URL: https://issues.apache.org/jira/browse/SOLR-3316
> Project: Solr
>  Issue Type: Bug
>  Components: SearchComponents - other
>Affects Versions: 4.0
> Environment: Windows 7, JDK 6u26
>Reporter: Cody Young
>  Labels: distributed, grouping
> Attachments: TestDistributedGrouping.java.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: 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org