Essentially, I'm attempting to spin up a single Solr service (v5.5) via Lando. The problem I'm running into is that Lando only supports the configuration of a single core, but it does support the use of a custom Solr config file.
Is it possible to modify the solrconfig.xml file to force the creation of two, custom cores? Here's what I have attempted below which doesn't seem to work.
Is this even possible to do in v5.5? With how this needs to be implemented, I cannot use the CREATE API (ex: http://localhost:8983/solr/admin/cores?action=CREATE&name=test_core&...) to programmatically create new cores which is why I'm heading down this particular path.
<solr>
<solrcloud>
<str name="host">${host:}</str>
<int name="hostPort">${jetty.port:8983}</int>
<str name="hostContext">${hostContext:solr}</str>
<bool name="genericCoreNodeNames">${genericCoreNodeNames:true}</bool>
<int name="zkClientTimeout">${zkClientTimeout:30000}</int>
<int name="distribUpdateSoTimeout">${distribUpdateSoTimeout:600000}</int>
<int name="distribUpdateConnTimeout">${distribUpdateConnTimeout:60000}</int>
</solrcloud>
<shardHandlerFactory name="shardHandlerFactory"
class="HttpShardHandlerFactory">
<int name="socketTimeout">${socketTimeout:600000}</int>
<int name="connTimeout">${connTimeout:60000}</int>
</shardHandlerFactory>
<cores adminPath="/admin/cores">
<core name="core0" instanceDir="core">
<property name="dataDir" value="/data/core0" />
</core>
<core name="core1" instanceDir="core">
<property name="dataDir" value="/data/core1" />
</core>
</cores>
</solr>