use md5 for view name
simplify algorithm, use lucene-style doc-len-norm