[
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: [email protected]
For additional commands, e-mail: [email protected]