You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Mark Miller (JIRA)" <ji...@apache.org> on 2015/02/18 19:40:13 UTC

[jira] [Commented] (SOLR-5970) Create collection API always has status 0

    [ https://issues.apache.org/jira/browse/SOLR-5970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14326340#comment-14326340 ] 

Mark Miller commented on SOLR-5970:
-----------------------------------

Good Collection API responses makes my top list of SolrCloud issues that still need to be completed: https://www.evernote.com/shard/s6/sh/e21837fe-d1d1-4f26-9dbe-fefce9a9feff/0c0f9d8224956916883bc6ffc40a6bba

> 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
>
> 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
(v6.3.4#6332)

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