[ 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-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org