更新时间:2023-11-18 23:35:10
我怀疑你只需要一个前导斜杠来表明你的目录名称是绝对的而不是相对的:
I suspect you just need a leading slash to indicate that your directory name is absolute rather than relative:
solr.solr.home=/home/huenzhao/search/tomcat6/bin/solr
如果不是这样,请发布您的 solrconfig.xml
文件所在的位置.
If that's not it, please post where your solrconfig.xml
file lives.
在 Windows 机器上,按照以下几行更新 solr/web.xml
中的 solr/home
属性:
On a Windows machine, update the solr/home
property in solr/web.xml
along these lines:
<env-entry>
<env-entry-name>solr/home</env-entry-name>
<env-entry-value>C:/solr</env-entry-value>
<env-entry-type>java.lang.String</env-entry-type>
</env-entry>