lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mugeesh Husain <muge...@gmail.com>
Subject Re: Setting up Solr on multiple machines
Date Mon, 30 Nov 2015 13:35:29 GMT
Hi,

You should create below command on any of solr server.

bin/solr create -c mytestcollection -d data_driven_schema_configs -shards 2
-replicationFactor 2 

it will display as


                                          
mytestcollection--
                            1.>shard1
                            2.>shard2

both of shard will be point to  solr1(server) and solr2  respectively. 




--
View this message in context: http://lucene.472066.n3.nabble.com/Setting-up-Solr-on-multiple-machines-tp4242343p4242681.html
Sent from the Solr - User mailing list archive at Nabble.com.

Mime
View raw message