【问题标题】:Compass Index Creation指南针索引创建
【发布时间】:2015-04-13 07:16:40
【问题描述】:

我收到类似

的错误
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).

【问题讨论】:

  • 显示相关代码
  • 代码在java中的意思还是需要配置文件

标签: java compass-lucene


【解决方案1】:

您是否检查了异常中的路径/home/test/testrun/target/compass/project/index/meta/segments_dia?

Code from compass 如果找不到这样的目录,则抛出此异常。

【讨论】:

  • 代码只抛出异常。但是为什么它来了。应用程序运行良好,突然我得到上面提到的错误。我怎样才能找到并解决
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-08-02
  • 2014-09-25
  • 2010-12-14
  • 2012-12-18
  • 2013-10-30
  • 2014-01-14
相关资源
最近更新 更多