Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/377.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java 指南针索引创建_Java_Compass Lucene - Fatal编程技术网

Java 指南针索引创建

Java 指南针索引创建,java,compass-lucene,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

我会犯这样的错误

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).

您是否检查了异常中的路径
/home/test/testrun/target/compass/project/index/meta/segments\u dia


如果找不到这样的目录,则引发此异常。

显示代码相关代码在java中的含义或对配置文件的需要代码只引发异常。但为什么会发生此异常。应用程序运行良好,但突然出现上述错误。如何查找和解决