`
tuzi883
  • 浏览: 1146 次
  • 性别: Icon_minigender_1
  • 来自: 宁波
最近访客 更多访客>>
文章分类
社区版块
存档分类
最新评论
文章列表
在学习lucene的过程中。碰到一个小问题。就是在创建IndexWriter对象的过程中,如果使用 增量索引的话,也就是使用如下方式创建IndexWriter对象时:IndexWriter write=new IndexWriter(path,new StandardAnalyzer(),false).那么一定要保证索引文件已经存在,如果不存在,就会发生java.io.FileNotFoundException异常。no segments* file found in org.apche.lucene.store.FSDirectory@E:\lucene\index:files: 所以第一次创 ...
Global site tag (gtag.js) - Google Analytics