摘要: 设置重新打开索引目录(清空) IndexWriterConfig conf = new IndexWriterConfig(new WhitespaceAnalyzer());conf.setOpenMode(OpenMode.CREATE); 阅读全文
posted @ 2016-07-20 15:09 搜索技术 阅读(97) 评论(0) 推荐(0)
摘要: openIfChanged public static DirectoryReader openIfChanged(DirectoryReader oldReader) throws IOException If the index has changed since the provided re 阅读全文
posted @ 2016-07-20 15:01 搜索技术 阅读(417) 评论(0) 推荐(0)
摘要: http://mvnrepository.com/artifact/org.apache.lucene 阅读全文
posted @ 2016-07-20 13:53 搜索技术 阅读(187) 评论(0) 推荐(0)