lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-5616) Make grouping code use response builder needDocList
Date Thu, 05 Jan 2017 11:50:58 GMT

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

ASF subversion and git services commented on SOLR-5616:
-------------------------------------------------------

Commit 5a93f83276eaa15ea58a2969f64c85834571ea78 in lucene-solr's branch refs/heads/branch_6x
from [~yonik@apache.org]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=5a93f83 ]

SOLR-5616: fix unused import


> Make grouping code use response builder needDocList
> ---------------------------------------------------
>
>                 Key: SOLR-5616
>                 URL: https://issues.apache.org/jira/browse/SOLR-5616
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Steven Bower
>            Assignee: Dennis Gove
>             Fix For: 6.4
>
>         Attachments: SOLR-5616.patch, SOLR-5616.patch, SOLR-5616.patch
>
>
> Right now the grouping code does this to check if it needs to generate a docList for
grouped results:
> {code}
> if (rb.doHighlights || rb.isDebug() || params.getBool(MoreLikeThisParams.MLT, false)
){
> ...
> }
> {code}
> this is ugly because any new component that needs a doclist, from grouped results, will
need to modify QueryComponent to add a check to this if. Ideally this should just use the
rb.isNeedDocList() flag...
> Coincidentally this boolean is really never used at for non-grouped results it always
gets generated..



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