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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.5
    • 4.7, 6.0
    • None
    • 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.patch
          4 kB
          Steve Davids
        2. SOLR-5535-testfix.patch
          0.9 kB
          Shalin Shekhar Mangar

        Activity

          People

            shalin Shalin Shekhar Mangar
            sdavids Steve Davids
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: