【发布时间】:2011-08-04 22:56:29
【问题描述】:
我已经配置了 SOLR 的 QueryElevation searchComponent,如下所述: http://wiki.apache.org/solr/SchemaXml#The_Unique_Key_Field
但是,我想从默认文件夹上方的几个文件夹中加载 elevate.xml 文件。
我无法让它工作...以下所有都会产生错误:
<str name="config-file">../../elevate.xml</str>
<str name="config-file">..\..\elevate.xml</str>
<str name="config-file">c:/elevate.xml</str>
<str name="config-file">c:\elevate.xml</str>
【问题讨论】:
标签: solr path relative-path absolute-path