我正在尝试了解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写一个旧版本的索引?提前感谢,-- Mark
发布于 2013-12-21 19:03:41
您可能正在使用旧版本的luke,最初的维护者不再将其更新到新版本的Lucene。
从this guy获取最新版本。他让它保持最新。
https://stackoverflow.com/questions/20711604
复制相似问题