Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      1. SOLR-1587.patch
        2 kB
        Yonik Seeley

        Activity

        Hide
        Yonik Seeley added a comment -

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

        Show
        Yonik Seeley added a comment - Attaching patch + test that treats "score" like "*,score" for distributed since that's what was done in the past with non-distributed.
        Hide
        Yonik Seeley added a comment -

        committed.

        Show
        Yonik Seeley added a comment - committed.
        Hide
        Hoss Man added a comment -

        Correcting Fix Version based on CHANGES.txt, see this thread for more details...

        http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E

        Show
        Hoss Man added a comment - Correcting Fix Version based on CHANGES.txt, see this thread for more details... http://mail-archives.apache.org/mod_mbox/lucene-dev/201005.mbox/%3Calpine.DEB.1.10.1005251052040.24672@radix.cryptio.net%3E
        Hide
        Grant Ingersoll added a comment -

        Bulk close for 3.1.0 release

        Show
        Grant Ingersoll added a comment - Bulk close for 3.1.0 release

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development