[ https://issues.apache.org/jira/browse/SOLR-5970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16834505#comment-16834505 ]
ASF subversion and git services commented on SOLR-5970: ------------------------------------------------------- Commit 0a8113fffacd7f6dd7d37e468eb798b28cc56a91 in lucene-solr's branch refs/heads/branch_8_1 from Ishan Chattopadhyaya [ https://gitbox.apache.org/repos/asf?p=lucene-solr.git;h=0a8113f ] SOLR-5970: Adding upgrade notes for this change > Create collection API always has status 0 > ----------------------------------------- > > Key: SOLR-5970 > URL: https://issues.apache.org/jira/browse/SOLR-5970 > Project: Solr > Issue Type: Bug > Reporter: Abraham Elmahrek > Assignee: Ishan Chattopadhyaya > Priority: Major > Fix For: 8.1 > > Attachments: SOLR-5970-test.patch, SOLR-5970.patch, SOLR-5970.patch, > SOLR-5970_branch_8x.patch, bad.jar, schema.xml, solrconfig.xml > > > The responses below are from a successful create collection API > (https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-CreateormodifyanAliasforaCollection) > call and an unsuccessful create collection API call. It seems the 'status' > is always 0. > Success: > {u'responseHeader': {u'status': 0, u'QTime': 4421}, u'success': {u'': > {u'core': u'test1_shard1_replica1', u'responseHeader': {u'status': 0, > u'QTime': 3449}}}} > Failure: > {u'failure': > {u'': > u"org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException:Error > CREATEing SolrCore 'test43_shard1_replica1': Unable to create core: > test43_shard1_replica1 Caused by: Could not find configName for collection > test43 found:[test1]"}, > u'responseHeader': {u'status': 0, u'QTime': 17149} > } > It seems like the status should be 400 or something similar for an > unsuccessful attempt? -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org