[ https://issues.apache.org/jira/browse/SOLR-8902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15333809#comment-15333809 ]
ASF subversion and git services commented on SOLR-8902: ------------------------------------------------------- Commit 489f386b766882d717d1bf5f740b81c179084d0e in lucene-solr's branch refs/heads/branch_5_5 from [~steve_rowe] [ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=489f386 ] SOLR-8902: don't try to pull return fields from the ResultContext - this method, added in SOLR-7957, won't be backported to 5.x > 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: 5.6, 6.0.1, 6.1, 5.5.2, master (7.0) > > Attachments: SOLR-8902-branch_6_0.patch, 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org