In a Solr Cloud of 3 zookeeper and 3 solr instances, should we define a collection oder do we need more collections? What about config names? How many config names do we need?
Solr.xml looks like this :
<?xml version="1.0" encoding="UTF-8" ?> <solr> <!-- <cores adminPath="/admin/multicore"> <core name="core0" instanceDir="multicore/core0"/> <core name="core1" config="solrconfig.xml" instanceDir="multicore\core0" schema="schema.xml" dataDir=".\solr\data"/> </cores> --> <bool name="shareSchema">false</bool> <solrcloud> <str name="host">localhost</str> <int name="hostPort">8082</int> <str name="hostContext">solr</str> <str name="zkHost">localhost:2181,localhost:2182,localhost:2183</str> <int name="zkClientTimeout">15000</int> <bool name="genericCoreNodeNames">true</bool> </solrcloud> <shardHandlerFactory name="shardHandlerFactory" class="HttpShardHandlerFactory"> <int name="socketTimeout">0</int> <int name="connTimeout">0</int> </shardHandlerFactory> </solr>
In the picture you can see that my cluster doesn't look nice. In each Solr node I have two cores. and not core.properties file. And on the other hand the nodes are down! , whereas in their Solr Admin GUI I see that they are up!
First I had the definitions collection1, collection2, collection3 in the core.properties of core0 in different cluster nodes, but then i completely removed the core.properties files and now they are still there!
0 comments:
Post a Comment