java - 如何读取lucene 5.5.5索引?

标签 java indexing lucene luke

什么版本的 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/

相关文章:

C# Lucene 获取所有索引

java - 使用长度为 0 的数组?

java - 如何使用 java 生成 1000 个唯一的电子邮件 ID

java - 带有拼写更改/错误的全文搜索

sql - 访问每个标识符的最新行的正确方法?

java - Lucene 2.4.1 索引将使用 lucene 6.2.1 重新索引

使用通用约束的 Java 工厂模式

java - 如何在 NetBeans GUI 编辑器中使用枚举值填充组合框?

arrays - Julia:我可以在 for 循环的迭代中更新和存储相同的数组吗?

java - Apache Lucene createWeight() 用于通配符查询