lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asaf Ary (JIRA)" <j...@apache.org>
Subject [jira] Created: (SOLR-1587) Propagating fl=*,score to shards
Date Sat, 21 Nov 2009 20:36:39 GMT
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.


Mime
View raw message