lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Judith Silverman (JIRA)" <>
Subject [jira] [Updated] (SOLR-9649) Distributed grouping can return 'too many' results?
Date Sat, 03 Dec 2016 22:42:59 GMT


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:
>             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

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

View raw message