如何读取Lucene 5.5.5索引? [英] How to read lucene 5.5.5 index?
本文介绍了如何读取Lucene 5.5.5索引?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
什么版本的Luke能够读取5.5.5 lucene的索引?我曾经尝试过Luke 4.10、5.2、5.5、7.2,但总能得到:
What version of Luke is able to read 5.5.5 lucene's indexes? I've tried with Luke 4.10, 5.2, 5.5, 7.2 but always get this:
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-
We also use Lucene 5.5.5 for our project.
The latest version of Luke which supports it is 6.6.0 - https://github.com/DmitryKey/luke/releases/tag/luke-6.6.0
这篇关于如何读取Lucene 5.5.5索引?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文