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 6F8E28723 for ; Mon, 22 Aug 2011 11:58:01 +0000 (UTC) Received: (qmail 10267 invoked by uid 500); 22 Aug 2011 11:54:20 -0000 Delivered-To: apmail-lucene-dev-archive@lucene.apache.org Received: (qmail 86195 invoked by uid 500); 22 Aug 2011 11:52:52 -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 52609 invoked by uid 99); 22 Aug 2011 11:50:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 11:50:18 +0000 X-ASF-Spam-Status: No, hits=-2000.1 required=5.0 tests=ALL_TRUSTED,DATE_IN_PAST_12_24,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Aug 2011 11:50:16 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 92D64C905B for ; Sun, 21 Aug 2011 21:07:30 +0000 (UTC) Date: Sun, 21 Aug 2011 21:07:30 +0000 (UTC) From: "Yonik Seeley (JIRA)" To: dev@lucene.apache.org Message-ID: <953245578.56993.1313960850598.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <777447745.37572.1313369367161.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (SOLR-2712) Deprecate fl=score behavior. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/SOLR-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088459#comment-13088459 ] Yonik Seeley commented on SOLR-2712: ------------------------------------ I imagine it's a very rarely used "feature", as I don't think it's documented. http://wiki.apache.org/solr/CommonQueryParameters#fl A note in CHANGES in trunk may be all that's warranted? > Deprecate fl=score behavior. > ------------------------------ > > Key: SOLR-2712 > URL: https://issues.apache.org/jira/browse/SOLR-2712 > Project: Solr > Issue Type: Task > Reporter: Ryan McKinley > Fix For: 3.4, 4.0 > > > SOLR-2657 points out that all fields show up when you request score and something becides a 'normal' field. To support the strange behavior and avoid it when uncenessary we have this: > {code:java} > if( fields.size() == 1 && _wantsScore && augmenters.size() == 1 && globs.isEmpty() ) { > _wantsAllFields = true; > } > {code} > I suggest we advertise in 3.x that expecting *fl=score* to return all fields is deprecated, and remove this bit of crazy code from 4.x -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org For additional commands, e-mail: dev-help@lucene.apache.org