重复生成索引会造成索引重复,indexDelAll()
方法可以删除掉索引目录下的所有索引
/**
* 删除指定索引库下面的所有 索引数据
* @param indexDir
*/
public static void indexDelAll(File indexDir) throws IOException {
if (indexDir == null || !indexDir.exists()
重复生成索引会造成索引重复,indexDelAll()
方法可以删除掉索引目录下的所有索引
/**
* 删除指定索引库下面的所有 索引数据
* @param indexDir
*/
public static void indexDelAll(File indexDir) throws IOException {
if (indexDir == null || !indexDir.exists()