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

Propagating fl=*,score to shards

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5, 3.1, 4.0-ALPHA
    • Component/s: search
    • Labels:
      None
    • Environment:

      any http solr server

      Description

      When doing an HTTP request to a Solr Server using the shards parameter ("shards") the behavior of the response varies.

      The following requests cause the entire document (all fields) to return in the response:

      http://localhost:8180/solr/cpaCore/select/?q=*:*
      http://localhost:8180/solr/cpaCore/select/?q=*:*&fl=score
      http://localhost:8180/solr/cpaCore/select/?q=*:*&shards=shardLocation/solr/cpaCore

      The following request causes only the fields "id" and "score" to return in the response:

      http://localhost:8180/solr/cpaCore/select/?q=*:*&fl=score&shards=shardLocation/solr/cpaCore

      I don't know if this is by design but it does provide for some inconsistent behavior, as shard requests behave differently than regular requests.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              asaf Asaf Ary
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: