Re-post:

solr-8.11.2 on windows; on a standalone node `bin\solr.cmd create -c mycore` succeeds with or without '-d myconfig' parameter.

On a 2-node cluster w/ external zookeeper 3.8.3 it fails with
'''
... Caused by: Can't find resource 'lang/contractions_it.txt' in classpath or 'configs/mycore'
'''
-- again, with or without '-d myconfig' parameter. (And yes, there is lang/contractions_it.txt in "myconfig".)

However,
'''
\server\scripts\cloud-scripts\zkcli.bat -cmd upconfig -zkhost localhost:2181 -d myconfig -n mycore
'''

succeeds, and the subsequent
'''
bin\solr.cmd create -c mycore -d myconfig
'''

succeeds too.

So it seems that zookeeper works and the failure is in solr.cmd -- either it doesn't work as documented in https://solr.apache.org/guide/8_11/solr-control-script-reference.html#configuration-directories-and-solrcloud at all, or only on winders.

Dima

Reply via email to