"responseHeader":{
"status":400,
"QTime":634},
"failure":{
"localhost:8983_solr":"org.apache.solr.client.solrj.impl.BaseHttpSolrClient$RemoteSolrException:Error from server at null: Error CREATEing SolrCore 'servicedesk_shard1_replica_n1': Unable to create core [servicedesk_shard1_replica_n1] Caused by: Can't find resource 'lang/stopwords_en.txt' in classpath or '/configs/servicedesk', cwd=/opt/solr-9.0.0/server"},
"Operation create caused exception:":"org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Underlying core creation failed while creating collection: servicedesk",
"exception":{
"msg":"Underlying core creation failed while creating collection: servicedesk",
"rspCode":400},
架构中的一个字段期望lang/stopwords_en.txt
文件存在。您需要将此文件添加到配置集的目录中。例如,如果您的配置集目录名为servicedesk
。您的stopword文件将位于servicedesk/lang/stopwords_en.txt 路径