Ok. I understood my problem. Usually I create collection with X shards and
then add some Y cores. This Y cores I use like gateways or federators (my
web application sends queries to load balancer that connected to Y cores
only).

When I create Y cores, I used this command
*http://<server_name>:<port>/solr/admin/cores?action=create&name=<collection_name>&shard=<shard_name>*

So always I got Y cores with the same name (collection name) and due to
CREATESNAPSHOT command doesn't work.

Solution is to use something like this if you need to add new cores after
creating collection:
*http://<server_name>:<port>/solr/admin/cores?action=create&name=<collection_name>_<shard_name>&collection=<collection_name>&shard=<shard_name>*





--
Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

Reply via email to