如何解决Luke:error java.lang.RuntimeException:尝试打开lucene索引目录时,该位置没有有效目录?

时间:2018-03-27 13:40:10

标签: lucene luke

我试图读取/分析索引文件,但是当我尝试打开lucene索引目录时,我收到以下错误

[2018-03-27 18:12:33,424] ERROR (LukeController.java:181) - Failed to open index: /Users/tucker/lux/2018/03/27/1522108807
java.lang.RuntimeException: No valid directory at the location: /Users/tucker/lux/2018/03/27/1522108807

在目录/Users/tucker/lux/2018/03/27/1522108807内,我有以下文件

_1y.cfe         _84.cfe         _c2.cfe         _c4.cfe         _c6.cfe         _c8.cfe
_1y.cfs         _84.cfs         _c2.cfs         _c4.cfs         _c6.cfs         _c8.cfs
_1y.si          _84.si          _c2.si          _c4.si          _c6.si          _c8.si
_51.cfe         _c1.cfe         _c3.cfe         _c5.cfe         _c7.cfe         index.properties
_51.cfs         _c1.cfs         _c3.cfs         _c5.cfs         _c7.cfs         optimized_flag
_51.si          _c1.si          _c3.si          _c5.si          _c7.si          segments_10

Luke版本7.2.0 Full example in rextester.

0 个答案:

没有答案