![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DocConsumer
文章平均质量分 82
犀利-sharp
这个作者很懒,什么都没留下…
展开
-
lucene 4.6 之indexing 之 IndexWriter, DocumentWriter
lucene 的操作主要分成 indexing 和 searching , 两个操作也就完成了整个闭环操作,咱们先从这个indexing说起。 class IndexWriter 可以说是lucene暴露给上层应用的一个类。上层应用程序通过这个类打开lucene的索引世界。 通过了解这个类得成员变量来了解这个类到底是干什么的,有几个比较重要的对象: private final Directo原创 2016-07-05 11:29:36 · 272 阅读 · 0 评论 -
lucene 4.6 之indexing 之 IndexChain,索引数据结构
/* This is the current indexing chain: DocConsumer / DocConsumerPerThread --> code: DocFieldProcessor --> DocFieldConsumer / DocFieldConsumerPerField -原创 2016-07-05 11:30:07 · 328 阅读 · 0 评论