lucene:no segments* file found in org.apache.lucene.store.FSDirectory@
lucene创建索引中的构造函数IndexWriter(Stringpath, Analyzer a, boolean create, IndexWriter.MaxFieldLength mfl),这里的boolean create参数的意思并非是否创建索引,而是覆盖还是追加的意思。原文见官方文档:create - trueto create the index or overwrite the