lucene打分规则
0.17677669 = (MATCH) fieldWeight(title_analyze:火锅 in 0), product of:
1.4142135 = tf(termFreq(title_analyze:火锅)=2)
1.0 = idf(docFreq=2, maxDocs=3)
0.125 = fieldNorm(field=title_analyze, doc=0)
score=tf*idf*fieldNorm
- tf=根号termFreq;如1.4142135 = tf(termFreq=2),1 = tf(termFreq=1)
- idf=log(maxdoc/(docFreq+1))+1;该项最小值=log(3/4)+1=0.71231794
- fieldNorm = fieldboost / sqrt(fieldlength);