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]