Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/django/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python SolrCore初始化失败:重新加载core时出现问题_Python_Django_Solr_Solrconfig - Fatal编程技术网

Python SolrCore初始化失败:重新加载core时出现问题

Python SolrCore初始化失败:重新加载core时出现问题,python,django,solr,solrconfig,Python,Django,Solr,Solrconfig,谁来帮忙 我越来越 “org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:无法为核心帐户加载conf:Plugin初始化[schema.xml]fieldType失败。模式文件为solr/account\conf\schema.xml” 当我试着重新装填我的核心。我不知道问题出在哪里 我使用的是Solr4.10.4 这是我的solrconfig.xml <?xml version="1.0" e

谁来帮忙

我越来越

“org.apache.solr.common.SolrException:org.apache.solr.common.SolrException:无法为核心帐户加载conf:Plugin初始化[schema.xml]fieldType失败。模式文件为solr/account\conf\schema.xml”

当我试着重新装填我的核心。我不知道问题出在哪里

我使用的是Solr4.10.4

这是我的solrconfig.xml

<?xml version="1.0" encoding="utf-8" ?>
<config>
<luceneMatchVersion>LUCENE_36</luceneMatchVersion>
<requestHandler name="/select" class="solr.StandardRequestHandler"
default="true" />
<requestHandler name="/update" class="solr.UpdateRequestHandler" />
<requestHandler name="/admin" class="solr.admin.AdminHandlers" />
<requestHandler name="/admin/ping" class="solr.PingRequestHandler">
<lst name="invariants">
  <str name="qt">search</str>
  <str name="q">*:*</str>
</lst>
</requestHandler>
</config>

卢塞诺36
搜索
*:*

谢谢

首先检查路径中是否存在
schema.xml
(如异常所述)

然后我建议更正
solr/account\conf\schema.xml
路径,将
\
反斜杠改为
/
斜杠

为了清楚起见,你应该写:

solr/account/conf/schema.xml

您可能正在运行solrCloud,请参阅
-c
参数

./solr start -c -m 1g
用这个代替

./solr start -m 1g

模式存在一些问题。把那个文件贴在这里。另外,我认为您的lucene match版本不正确,因为您使用的是4。x@BinoyDalal(但得到支持)