lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Smiley (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-2712) Deprecate fl=score behavior.
Date Sun, 21 Aug 2011 02:14:27 GMT

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

David Smiley commented on SOLR-2712:
------------------------------------

+1   I just ran into this today!  I was about to file a bug.

> 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


Mime
View raw message