7374757677787980818283
File directoryFile = directory.getFile(); directory = FSDirectory.getDirectory(directoryFile); IndexWriter.unlock(directory); for (String file : directory.list()) directory.deleteFile(file); directory.getFile().delete(); }
8889909192939495969798
File directoryFile = directory.getFile(); luceneCASIndexer.destroy(); directory = FSDirectory.getDirectory(directoryFile); for (String file : directory.list()) directory.deleteFile(file); directory.getFile().delete(); }