You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (Commented) (JIRA)" <ji...@apache.org> on 2012/03/20 14:05:38 UTC
[jira] [Commented] (SOLR-2712) Deprecate fl=score behavior.
[ https://issues.apache.org/jira/browse/SOLR-2712?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13233390#comment-13233390 ]
Mark Miller commented on SOLR-2712:
-----------------------------------
There was something missed here. I'll fix it when I fix the multiple fl's not being treated right in distrib search - around that same code there is still logic that expects this.
> Deprecate fl=score behavior.
> ------------------------------
>
> Key: SOLR-2712
> URL: https://issues.apache.org/jira/browse/SOLR-2712
> Project: Solr
> Issue Type: Task
> Reporter: Ryan McKinley
> Assignee: Ryan McKinley
> Fix For: 3.6, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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