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 14B9D18EFB for ; Mon, 11 Apr 2016 05:34:27 +0000 (UTC) Received: (qmail 49263 invoked by uid 500); 11 Apr 2016 05:34:26 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 49205 invoked by uid 500); 11 Apr 2016 05:34:26 -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 49195 invoked by uid 99); 11 Apr 2016 05:34:26 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Apr 2016 05:34:26 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CF47D2C1F61 for ; Mon, 11 Apr 2016 05:34:25 +0000 (UTC) Date: Mon, 11 Apr 2016 05:34:25 +0000 (UTC) From: "Erick Erickson (JIRA)" To: dev@lucene.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (SOLR-3191) field exclusion from fl 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-3191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson updated SOLR-3191: --------------------------------- Attachment: SOLR-3191.patch Here's an updated patch that attempts to reconcile the original with current trunk. There are a couple of problems: 1> I couldn't get a clean merge beween this patch and the minimal changes in SOLR-8902 for SolrResultField. So I essentially took this patch applied to 57d85d8 and took the SolrResultField and copied it over into trunk. The tests added for 8902 pass. Waiting for Ryan McKinley to comment here. 2> TestRawTransformer doesn't work with this patch on trunk. Nor does it work with this patch applied to straight 57d85d8. 3> There's a new test in trunk TestGeoJSONResponseWriter that fails with this patch applied to trunk. I chose that revision because it was the last one that changed the main files in this JIRA. So in essence this JIRA is not committable until the three issues above are resolved. > field exclusion from fl > ----------------------- > > Key: SOLR-3191 > URL: https://issues.apache.org/jira/browse/SOLR-3191 > Project: Solr > Issue Type: Improvement > Reporter: Luca Cavanna > Priority: Minor > Attachments: SOLR-3191.patch, SOLR-3191.patch, SOLR-3191.patch, SOLR-3191.patch, SOLR-3191.patch, SOLR-3191.patch > > > I think it would be useful to add a way to exclude field from the Solr response. If I have for example 100 stored fields and I want to return all of them but one, it would be handy to list just the field I want to exclude instead of the 99 fields for inclusion through fl. -- 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