Lucene常用方法收藏

1.判断是否存在Lucene索引文件

 

static org.apache.lucene.index.IndexReader.indexExists(String directory);
static org.apache.lucene.index.IndexReader.indexExists(File directory); 
static org.apache.lucene.index.IndexReader.indexExists(Directory directory);
 

你可能感兴趣的:(apache,Lucene)