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

The "partialResults" header should be set for shards that error out using shards.tolerant

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5
    • Fix Version/s: 4.7, 6.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently the only way to know if shards error out while using the shards.tolerant flag is to set the shards.info flag and iterate through each shard's info to see if an error is reported.

      The "partialResults" response header value should be set when errors are detected from distributed searches. This header value is currently being used by the timeAllowed request parameter if shards don't respond in time. This change will provide a more consistent mechanism to detect distributed search errors.

        Attachments

        1. SOLR-5535-testfix.patch
          0.9 kB
          Shalin Shekhar Mangar
        2. SOLR-5535.patch
          4 kB
          Steve Davids

          Activity

            People

            • Assignee:
              shalinmangar Shalin Shekhar Mangar
              Reporter:
              sdavids Steve Davids
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: