Propagating fl=*,score to shards
--------------------------------

                 Key: SOLR-1587
                 URL: https://issues.apache.org/jira/browse/SOLR-1587
             Project: Solr
          Issue Type: Bug
          Components: search
    Affects Versions: 1.4
         Environment: any http solr server
            Reporter: Asaf Ary


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:
{quote}
    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
{quote}

The following request causes only the fields "id" and "score" to return in the 
response:
{quote}
    
http://localhost:8180/solr/cpaCore/select/?q=*:*&fl=score&shards=shardLocation/solr/cpaCore
{quote}

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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to