You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Deepu <kp...@gmail.com> on 2020/09/27 22:55:46 UTC
Unable to upload updated solr config set
Hi,
I was able to upload solr configs using solr/admin/configs?action=UPLOAD
api but getting below error when reupload same config set with same.
{
"responseHeader":{
"status":400,
"QTime":51},
"error":{
"metadata":[
"error-class","org.apache.solr.common.SolrException",
"root-error-class","org.apache.solr.common.SolrException"],
"msg":"The configuration sampleConfigSet already exists in zookeeper",
"code":400}}
how we re upload same config with few schema & solr config changes ?
Thanks,
Deepu
Re: Unable to upload updated solr config set
Posted by Erick Erickson <er...@gmail.com>.
Until then, you can use
bin/solr zk upconfig….
Best,
Erick
> On Sep 28, 2020, at 10:06 AM, Houston Putman <ho...@gmail.com> wrote:
>
> Until the next Solr minor version is released you will not be able to
> overwrite an existing configSet with a new configSet of the same name.
>
> The ticket for this feature is SOLR-10391
> <https://issues.apache.org/jira/browse/SOLR-10391>, and it will be included
> in the 8.7.0 release.
>
> Until then you will have to create a configSet with a new name, and then
> update your collections to point to that new configSet.
>
> - Houston
>
> On Sun, Sep 27, 2020 at 6:56 PM Deepu <kp...@gmail.com> wrote:
>
>> Hi,
>>
>> I was able to upload solr configs using solr/admin/configs?action=UPLOAD
>> api but getting below error when reupload same config set with same.
>>
>> {
>>
>> "responseHeader":{
>>
>> "status":400,
>>
>> "QTime":51},
>>
>> "error":{
>>
>> "metadata":[
>>
>> "error-class","org.apache.solr.common.SolrException",
>>
>> "root-error-class","org.apache.solr.common.SolrException"],
>>
>> "msg":"The configuration sampleConfigSet already exists in zookeeper",
>>
>> "code":400}}
>>
>>
>> how we re upload same config with few schema & solr config changes ?
>>
>>
>>
>> Thanks,
>>
>> Deepu
>>
Re: Unable to upload updated solr config set
Posted by Houston Putman <ho...@gmail.com>.
Until the next Solr minor version is released you will not be able to
overwrite an existing configSet with a new configSet of the same name.
The ticket for this feature is SOLR-10391
<https://issues.apache.org/jira/browse/SOLR-10391>, and it will be included
in the 8.7.0 release.
Until then you will have to create a configSet with a new name, and then
update your collections to point to that new configSet.
- Houston
On Sun, Sep 27, 2020 at 6:56 PM Deepu <kp...@gmail.com> wrote:
> Hi,
>
> I was able to upload solr configs using solr/admin/configs?action=UPLOAD
> api but getting below error when reupload same config set with same.
>
> {
>
> "responseHeader":{
>
> "status":400,
>
> "QTime":51},
>
> "error":{
>
> "metadata":[
>
> "error-class","org.apache.solr.common.SolrException",
>
> "root-error-class","org.apache.solr.common.SolrException"],
>
> "msg":"The configuration sampleConfigSet already exists in zookeeper",
>
> "code":400}}
>
>
> how we re upload same config with few schema & solr config changes ?
>
>
>
> Thanks,
>
> Deepu
>