[ https://issues.apache.org/jira/browse/SOLR-9649?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Judith Silverman updated SOLR-9649: ----------------------------------- Attachment: SOLR-9649.patch Hi, Christine. I think the issue you noticed here is the subject of SOLR-5878. My diagnosis is that when group.format=simple in a distributed search, the value of 'rows' is interpreted as the number of groups to be represented in the result set rather than as the number of documents to be returned. I've added another failing unit test to your patch where the result set is smaller so that it's easier to see what's happening: rows=9 and group.limit=2, and the 9th group returned contains 2 docs, so a total of 10 docs are returned. Another issue illustrated by the tests you added is that both 'offset' and 'group.offset' are ignored, but this appears to be the case whether or not the search is distributed so long as group.format=simple, so these tests (which compare the results of distributed and non-distributed search) don't catch that problem. > Distributed grouping can return 'too many' results? > --------------------------------------------------- > > Key: SOLR-9649 > URL: https://issues.apache.org/jira/browse/SOLR-9649 > Project: Solr > Issue Type: Test > Security Level: Public(Default Security Level. Issues are Public) > Reporter: Christine Poerschke > Assignee: Christine Poerschke > Priority: Minor > Attachments: SOLR-9649.patch, SOLR-9649.patch > > > stumbled across this whilst looking at SOLR-6203 and trying to factor > {{GroupingSpecification.\[group\](sort|offset|limit)}} into > {{GroupingSpecification.\[group\](sortSpec)}} -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org