什么版本的 Luke 能够读取 5.5.5 lucene 的索引?我试过 Luke 4.10, 5.2, 5.5, 7.2 但总是得到这个:
Invalid directory at the location, check console for more information. Last exception:
org.apache.lucene.index.IndexFormatTooOldException: Format version is not supported (resource BufferedChecksumIndexInput(MMapIndexInput(path=""))): this index is too old (version: 5.5.5). This version of Lucene only supports indexes created with release 6.0 and later.
最佳答案
我们的项目也使用 Lucene 5.5.5。支持它的最新版本 Luke 是 6.6.0 - https://github.com/DmitryKey/luke/releases/tag/luke-6.6.0
关于java - 如何读取lucene 5.5.5索引?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48788263/