lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From SOLR4189 <Klin892...@yandex.ru>
Subject Re: Createsnapshot null pointer exception
Date Tue, 12 Feb 2019 17:06:17 GMT
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

Mime
View raw message