使用lucene创建索引时报错 路径错误
java.io.FileNotFoundException:nosegments*filefoundinorg.apache.lucene.store.SimpleFSD...
java.io.FileNotFoundException: no segments* file found in org.apache.lucene.stor
e.SimpleFSDirectory@C:\index lockFactory=org.apache.lucene.store.NativeFSLockFac
tory@285d14: files: [write.lock]
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfo
s.java:628)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfo
s.java:521) 展开
e.SimpleFSDirectory@C:\index lockFactory=org.apache.lucene.store.NativeFSLockFac
tory@285d14: files: [write.lock]
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfo
s.java:628)
at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfo
s.java:521) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询