我正在尝试了解 Lucene,并希望使用 Luke 进行调查。我尝试使用 Lucene 4.3 中的 IndexFiles 演示构建索引,然后尝试使用最新版本的 Luke 查看索引,我收到以下消息:
Invalid directory at the location, check console for more information. Last exception:
org.apache.lucene.index.IndexFormatTooNewException: Format version is not supported (resource: ChecksumIndexInput(MMapIndexInput(path="/home/lavin/sep20.index/segments_2"))): 1 (needs to be between 0 and 0)
任何想法有什么问题以及如何解决?我的 Lucene 版本对卢克来说太新了吗?有没有办法告诉 Lucene 编写旧版本的索引?提前致谢,--马克