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-8902) ReturnFields can return fields that were not requested
Date Fri, 25 Mar 2016 20:52:25 GMT

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

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

Commit 6b7030d637e86effe7e38f3610e9475b0b595cf6 in lucene-solr's branch refs/heads/master
from [~ryantxu]
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=6b7030d ]

SOLR-8902: fix glob test (put back the fields.clear())


> ReturnFields can return fields that were not requested
> ------------------------------------------------------
>
>                 Key: SOLR-8902
>                 URL: https://issues.apache.org/jira/browse/SOLR-8902
>             Project: Solr
>          Issue Type: Bug
>          Components: Response Writers
>            Reporter: Ryan McKinley
>            Assignee: Ryan McKinley
>            Priority: Minor
>             Fix For: 6.1, trunk
>
>         Attachments: SOLR-8902.diff
>
>
> It looks like something changed that now returns all fields requested from lucene, not
just the ones request from solr.
> This is the difference between 'fields' and 'okFieldNames' in SolrReturnFields.
> The logic here:
> https://github.com/apache/lucene-solr/blob/master/solr/core/src/java/org/apache/solr/search/SolrReturnFields.java#L141
> adds all the 'fields' to 'okFieldName'
> I think that should be removed



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