Thank you Dominique and Shawn, now I see that clusterstate.json does not reflect current number of cores in shard2, there are duplicated cores in all collections like this, how can I edit clusterstate.json???? :
[image: Images intégrées 1] 2015-02-18 16:54 GMT+00:00 Shawn Heisey <apa...@elyograg.org>: > On 2/18/2015 9:22 AM, Abdelali AHBIB wrote: > > with Collections API, they still some config files in > > /solr/config/Xunused_collection, I deleted them also manualy > > > > 2015-02-18 16:16 GMT+00:00 Dominique Bejean <dominique.bej...@eolya.fr>: > > > >> When you say "I renamed some cores, cleaned other unused ones that we > don't > >> need anymore etc", how did you do this ? > >> With Cores or Collections API or by deleting core's directories in Solr > >> Home ? > > The collections API cannot rename anything, so I suspect that you went > into the Core Admin section of the admin UI and clicked the "rename" > button, or otherwise used the CoreAdmin API rename functionality via > http. If you do anything in the Core Admin screen other than adding > cores or optimizing, bad things WILL happen to SolrCloud. Incorrectly > using the "add core" functionality can also cause problems, but it's > less likely. > > Unless you completely understand how SolrCloud works internally, the > only safe way to change things in SolrCloud is with the Collections API > and the zkcli script, and none of the that functionality is currently > exposed via the admin interface. You have to manually make all those > requests. > > Thanks, > Shawn > > -- Cordialement, Abdelali AHBIB