Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
<lib dir="../../dist/" regex="apache-solr-cell-\d.*\.jar"/>当我在 solrconfig.xml 中使用时,Solr 没有拾取 jar 文件
<lib dir="../../dist/" regex="apache-solr-cell-\d.*\.jar"/>
我还在 solr/ 中创建了 lib 目录并<lib dir="./lib" />在 solrconfig.xml 中指定,但它没有获取自定义 jar 文件。
<lib dir="./lib" />
知道可能缺少什么吗?
如果您在 solr 目录中创建了 lib 文件夹,则路径将<lib dir="../lib" />与 solrconfig.xml 一样,它必须跳回一个目录以引用 lib 文件夹。
<lib dir="../lib" />