will lucene traverse all segments to search a 'primary key'term or will it stop as soon as it get one?

2017-04-20 Thread
Let’s say I have a user info index and user id is the ‘primary key’. So when I do a userid term search, will lucene traverse all segments to search a 'primary key'term or will it stop as soon as it get one? If it is the latter one, will any plan to make it the former way? 马可阳 京东

any plan to support hash index?

2017-04-23 Thread
build a hash index to support this scenario? 马可阳 京东 【基础平台|中间件|JSF】 = 服务构建 jsf.jd.com

local variable name question

2017-08-06 Thread
In code I can see this: final TermContext termState while it is instance of TermContext, why not name it termContext rather than termState? If termState is more describable name, why not change Class name to TermState? [邮件签名]

答复: local variable name question

2017-08-06 Thread
And this: Similarity.SimWeight stats I bet there are more these things. Just out of curiosity. [邮件签名] 发件人: 马可阳 发送时间: 2017年8月6日 17:14 收件人: 'java-user@lucene.apache.org' 主题: local variable name question In code I can see this: final TermContext termState while it i