You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2015/05/19 17:11:00 UTC

[jira] [Created] (SOLR-7566) Search requests should return the shard name that is down

Shalin Shekhar Mangar created SOLR-7566:
-------------------------------------------

             Summary: Search requests should return the shard name that is down
                 Key: SOLR-7566
                 URL: https://issues.apache.org/jira/browse/SOLR-7566
             Project: Solr
          Issue Type: Bug
          Components: search, SolrCloud
    Affects Versions: 5.1
            Reporter: Shalin Shekhar Mangar
            Priority: Trivial
             Fix For: Trunk, 5.2


If no replicas of a shard are up and running, a search request gives the following response:

{code}
{
  "responseHeader": {
    "status": 503,
    "QTime": 2,
    "params": {
      "q": "*:*",
      "indent": "true",
      "wt": "json",
      "_": "1432048084930"
    }
  },
  "error": {
    "msg": "no servers hosting shard: ",
    "code": 503
  }
}
{code}

The message should mention the shard which is down/unreachable.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org