我们已经开始研究从主/从到 SolrCloud 的当前搜索。我有几个与动态扩展节点相关的问题。请帮忙。
localhost:8888/solr/admin/cores?action=CREATE&name=testcollection_shard1_replica1&collection=testcollection&shard=shard1&collection.configName=collection1
How to create new replica dynamically? is just creating a new core as below or there is another way?
localhost:8888/solr/admin/cores?action=CREATE&name=testcollection_shard1_replica2&collection=testcollection&shard=shard1&collection.configName=collection1
How to add a brand new shard to collection dynamically? is it just creating a new core with new shard name on a new node as below? will on newly created shard documents be distributed automatically? or this is not the right way and we should use shard splitting?
localhost:8888/solr/admin/cores?action=CREATE&name=testcollection_shard2_replica1&collection=testcollection&shard=shard2&collection.configName=collection1
非常感谢您的帮助!!
-乌梅什
最佳答案
关于Solr:将现有或新拆分的分片迁移到新节点,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/18894470/