lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-1587) Propagating fl=*,score to shards
Date Tue, 24 Nov 2009 03:48:40 GMT

     [ https://issues.apache.org/jira/browse/SOLR-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Yonik Seeley updated SOLR-1587:
-------------------------------

    Attachment: SOLR-1587.patch

Attaching patch + test that treats "score" like "*,score" for distributed since that's what
was done in the past with non-distributed.

> 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
>         Attachments: SOLR-1587.patch
>
>
> 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