我正在努力了解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版本对Luke来说是否太新了?有没有办法告诉Lucene写一个旧版索引?提前谢谢, - 马克
您可能正在使用较旧版本的luke,原始维护者不再将其更新为新版本的Lucene.
从这个人那里得到最新消息.他让它保持最新状态.