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

Propagating fl=*,score to shards

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 1.5, 3.1, 4.0-ALPHA
    • search
    • None
    • 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

        1. SOLR-1587.patch
          2 kB
          Yonik Seeley

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: