From dev-return-246858-apmail-lucene-dev-archive=lucene.apache.org@lucene.apache.org Mon May 9 23:35:13 2016 Return-Path: X-Original-To: apmail-lucene-dev-archive@www.apache.org Delivered-To: apmail-lucene-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D248019354 for ; Mon, 9 May 2016 23:35:13 +0000 (UTC) Received: (qmail 12682 invoked by uid 500); 9 May 2016 23:35:13 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 12620 invoked by uid 500); 9 May 2016 23:35:13 -0000 Mailing-List: contact dev-help@lucene.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@lucene.apache.org Delivered-To: mailing list dev@lucene.apache.org Received: (qmail 12605 invoked by uid 99); 9 May 2016 23:35:13 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 May 2016 23:35:13 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D5A042C1F61 for ; Mon, 9 May 2016 23:35:12 +0000 (UTC) Date: Mon, 9 May 2016 23:35:12 +0000 (UTC) From: "Hoss Man (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-8902) ReturnFields can return fields that were not requested MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SOLR-8902?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hoss Man updated SOLR-8902: --------------------------- Fix Version/s: (was: 6.0) master (7.0) Manually correcting fixVersion per Step #S5 of LUCENE-7271 > 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, master (7.0) > > 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