solr调试中fieldWeight后面的数字是什么意思解释?
What does the number following fieldWeight mean in Solr debug explain?
当我在Solr中阅读调试说明时,"fieldWeight in"后面有一个数字,如:
<str name="2531072">
3.1245635 = (MATCH) weight(
title:史诗111
) [DefaultSimilarity], result of:
3.1245635 =
111 中的字段权重
, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
6.249127 = idf(docFreq=4, maxDocs=952)
0.5 = fieldNorm
(doc=111)
</str>
我想知道那个粗体数字是什么意思,solr是怎么得到那个数字的?
freq, docFeq, maxDoc termFreq我都能看懂,只是被这个数字弄糊涂了
这个数字是文档的内部ID,不影响分数。这只是一个调试信息。 Lucene 的邮件列表给出 this information.
当我在Solr中阅读调试说明时,"fieldWeight in"后面有一个数字,如:
<str name="2531072">
3.1245635 = (MATCH) weight(
title:史诗111
) [DefaultSimilarity], result of:
3.1245635 =
111 中的字段权重
, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
6.249127 = idf(docFreq=4, maxDocs=952)
0.5 = fieldNorm
(doc=111)
</str>
我想知道那个粗体数字是什么意思,solr是怎么得到那个数字的? freq, docFeq, maxDoc termFreq我都能看懂,只是被这个数字弄糊涂了
这个数字是文档的内部ID,不影响分数。这只是一个调试信息。 Lucene 的邮件列表给出 this information.