摘要: 写入对比每个路径下都只能有一个IndexWriter负责写入,通过writer.lock实现。不同:lucene可以多个线程共享一个IndexWriter,每个线程负责写一个segment,从addDocument到index都用es bulk线程。详见:https://www.cnblogs.co 阅读全文
posted @ 2019-09-03 18:26 vsop_479 阅读(531) 评论(0) 推荐(0) 编辑