`
weareyou-006
  • 浏览: 1027 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论
文章列表
最近一直在研究Lucene的源码,其中有许多设计到hash算法的地方。于是自己整理一下,以加深自己的理解。这只是我个人的理解。如果有不对的地方。希望大家勇于拍砖。 TermsHashPerField.java中有一个hash算法: final char[] tokenText = termAtt.buffer();     final int tokenTextLen = termAtt.length();     // Compute hashcode & replace any invalid UTF16 sequences     int downto = tokenText ...
Global site tag (gtag.js) - Google Analytics