【发布时间】:2022-01-17 09:50:19
【问题描述】:
得到错误:
Diag message: User class threw exception: java.lang.IllegalArgumentException: An SPI class of type org.apache.lucene.codecs.DocValuesFormat with name 'Memory' does not exist.
You need to add the corresponding JAR file supporting this SPI to your classpath.
The current classpath supports the following names: [Lucene54]
at org.apache.lucene.util.NamedSPILoader.lookup(NamedSPILoader.java:116)
at org.apache.lucene.codecs.DocValuesFormat.forName(DocValuesFormat.java:108)
我尝试使用各种较新版本的 lucene-core(以及向后兼容的 jar)运行 jar,但没有成功。目前,我们使用的是 6.5.0 版本。 我们尝试读取的 Lucene-index 包含像 - _4o08_Memory_0.mdvd 和 _4o08_Memory_0.mdvm 这样的文件,这是真正的问题。
【问题讨论】: