lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Judith Silverman (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (SOLR-9649) Distributed grouping can return 'too many' results?
Date Sun, 04 Dec 2016 04:10:58 GMT

    [ https://issues.apache.org/jira/browse/SOLR-9649?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15718865#comment-15718865
] 

Judith Silverman edited comment on SOLR-9649 at 12/4/16 4:10 AM:
-----------------------------------------------------------------

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.          


was (Author: judith):
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-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message