指南针索引创建

时间:2015-04-13 07:16:41

标签: java compass-lucene

我遇到了像

这样的错误
Failed to open Lucene reader/searcher; nested exception is  
org.compass.core.engine.SearchEngineException:  
Failed to open index searcher for sub-index [meta]; nested exception is 
java.io.FileNotFoundException:  
/home/test/testrun/target/compass/project/index/meta/segments_dia  
(No such file or directory).

1 个答案:

答案 0 :(得分:0)

您是否检查了例外的路径/home/test/testrun/target/compass/project/index/meta/segments_dia

Code from compass如果无法找到此类目录,则会抛出此异常。