设置重新打开索引目录(清空)
IndexWriterConfig conf = new IndexWriterConfig(new WhitespaceAnalyzer());conf.setOpenMode(OpenMode.CREATE);