Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-2712

Deprecate fl=score behavior.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.6, 4.0-ALPHA
    • None
    • None

    Description

      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:

          if( fields.size() == 1 && _wantsScore && augmenters.size() == 1 && globs.isEmpty() ) {
            _wantsAllFields = true;
          }
      

      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

      Attachments

        Issue Links

          Activity

            People

              ryantxu Ryan McKinley
              ryantxu Ryan McKinley
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: