会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
hs
I strove with none, for none was worth my strife; Nature I loved, and next to nature, art; I warmed both hands before the fire of life; It sinks and I am ready to depart.
博客园
首页
新随笔
管理
2018年5月26日
Lucene 源码分析之倒排索引(三)
摘要: 上文找到了 collect(…) 方法,其形参就是匹配的文档 Id,根据代码上下文,其中 doc 是由 iterator.nextDoc() 获得的,那 DefaultBulkScorer.iterator 是何时赋值的?代码如下。 构造函数中 scorer.iterator() 即为匹配的文档 I
阅读全文
posted @ 2018-05-26 15:05 0x7C00
阅读(681)
评论(0)
推荐(0)
编辑