ename action in the Collections API.
>
> No. There is no rename functionality. The workaround is to use the
> alias feature, which Erick mentioned. Renaming a collection could be
> done with a significant amount of manual editing, both in the relevant
> nodes and in zookeepe
tioned. Renaming a collection could be
done with a significant amount of manual editing, both in the relevant
nodes and in zookeeper. If you want to try this, I strongly recommend
that you shut down the relevant Solr instances. As you can might
imagine, it would be highly disruptive.
> I read from he
Why not just use a collection alias?
Best,
Erick
On Tue, Dec 13, 2016 at 7:38 AM, Zheng Lin Edwin Yeo
wrote:
> Hi,
>
> Is it possible to rename a collection without using a collection API? I
> could not find any rename action in the Collections API.
>
> I read from here
> http://stackoverflow.co
Hi,
Is it possible to rename a collection without using a collection API? I
could not find any rename action in the Collections API.
I read from here
http://stackoverflow.com/questions/34889307/how-can-i-rename-a-core-created-in-solr
that we can use action=RENAME
http://localhost:8983/solr/admi
Hi Arcadius,
Yeah.. i was using that. i am trying to understand if there is a way to
rename collection name.
Thanks for the response.
Regards,
Anil
On 14 May 2016 at 16:53, Arcadius Ahouansou wrote:
> Hi Anil.
> You may want to look at collection alias
>
>
> https://cwiki.apache.org/confluenc
Hi Anil.
You may want to look at collection alias
https://cwiki.apache.org/confluence/display/solr/Collections+API#CollectionsAPI-api4
When using alias, the name of the underlying collection should not really
matter.
Thanks.
On 14 May 2016 at 10:58, Anil wrote:
> Seems solr allows to rename
Seems solr allows to rename the core only not the collection.
On 14 May 2016 at 15:06, Anil wrote:
> HI,
>
> Can we rename the collection ?
>
> if yes, action=rename with request path /admin/cores works ? Please
> clarify.
>
> i tried following code.. but no luck.
>
> CloudSolrServer cloudSolrSe
HI,
Can we rename the collection ?
if yes, action=rename with request path /admin/cores works ? Please clarify.
i tried following code.. but no luck.
CloudSolrServer cloudSolrServer = new
CloudSolrServer("localhost:2181/solr");
cloudSolrServer.setDefaultCollection("test-collection-2010");
Modif