You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Liang Tianyu (JIRA)" <ji...@apache.org> on 2013/10/07 01:07:41 UTC

[jira] [Reopened] (SOLR-5306) can not create collection when have over one config

     [ https://issues.apache.org/jira/browse/SOLR-5306?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Liang Tianyu reopened SOLR-5306:
--------------------------------


Please see https://issues.apache.org/jira/browse/SOLR-5307,the same question.
The correct url is::http://localhost:8080/solr/admin/collections?action=CREATE&name=patent_main_1&numShards=1&collection.configName=patent.
I have readed and debuged solr 4.5 source code,I find 'setParams(SolrParams params)' never used in 'CloudDescriptor' class.Although I specify collection.confgName parameters, in fact, did not work.


> can not create collection when have over one config
> ---------------------------------------------------
>
>                 Key: SOLR-5306
>                 URL: https://issues.apache.org/jira/browse/SOLR-5306
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 4.5
>         Environment: win7 jdk 7
>            Reporter: Liang Tianyu
>            Priority: Critical
>
> I have uploaded zookeeper two config: patent and applicant. I can not create collection:http://localhost:8080/solr/admin/collections?action=CREATE&name=patent_main_1&numShards=1&collection.configName=patent.show errors:patent_main_1_shard1_replica1: org.apache.solr.common.cloud.ZooKeeperException:org.apache.solr.common.cloud.ZooKeeperException: Could not find configName for collection patent_main_1 found:[applicant, patent]. In solr 4.4 I can create sucessfully.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

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