我正在尝试比较查询结果的文档说明。我正在尝试比较下面粘贴的两个特定文档,并在搜索结果中以相同的顺序出现(按分数desc排序):
**document 1:**
<str name="26a5d1a2-59d8-4bea-950a-0b49d4fe4319">
0.0031454414 = (MATCH) sum of:
0.00309655 = (MATCH) product of:
0.04644825 = (MATCH) sum of:
0.04644825 = (MATCH) sum of:
0.04644825 = (MATCH) weight(arr1_searchable_cast_members:drew knight^36.36364 in 6613), product of:
0.008620962 = queryWeight(arr1_searchable_cast_members:drew knight^36.36364), product of:
36.36364 = boost
10.775654 = idf(docFreq=1, maxDocs=35200)
2.2001117E-5 = queryNorm
5.387827 = (MATCH) fieldWeight(arr1_searchable_cast_members:drew knight in 6613), product of:
1.0 = tf(termFreq(arr1_searchable_cast_members:drew knight)=1)
10.775654 = idf(docFreq=1, maxDocs=35200)
0.5 = fieldNorm(field=arr1_searchable_cast_members, doc=6613)
0.06666667 = coord(1/15)
4.889137E-5 = (MATCH) product of:
4.4002233E-4 = (MATCH) sum of:
1.6500837E-4 = (MATCH) product of:
3.3001674E-4 = (MATCH) sum of:
3.3001674E-4 = (MATCH) ConstantScore(arr_searchable_cast_members:knight arr_searchable_cast_members:knightley arr_searchable_cast_members:knightly), product of:
1.0 = boost
3.3001674E-4 = queryNorm
0.5 = coord(1/2)
2.7501397E-4 = (MATCH) product of:
5.5002794E-4 = (MATCH) sum of:
5.5002794E-4 = (MATCH) ConstantScore(arr_searchable_cast_members:knight arr_searchable_cast_members:knightley arr_searchable_cast_members:knightly), product of:
1.0 = boost
5.5002794E-4 = queryNorm
0.5 = coord(1/2)
0.11111111 = coord(2/18)
</str>
**document 2 (having less info)**:
<str name="ebf2334c-3f88-4918-8f36-c44532a773e1">
0.0010389417 = (MATCH) product of:
0.0020778833 = (MATCH) sum of:
0.0020778833 = (MATCH) product of:
0.01870095 = (MATCH) sum of:
0.009900503 = (MATCH) product of:
0.019801006 = (MATCH) sum of:
0.019801006 = (MATCH) ConstantScore(vz_searchable_name:knight vz_searchable_name:knights), product of:
1.0 = boost
0.019801006 = queryNorm
0.5 = coord(1/2)
0.008800447 = (MATCH) product of:
0.017600894 = (MATCH) sum of:
0.017600894 = (MATCH) ConstantScore(vz_searchable_name:knight vz_searchable_name:knights), product of:
1.0 = boost
0.017600894 = queryNorm
0.5 = coord(1/2)
0.11111111 = coord(2/18)
0.5 = coord(1/2)
</str>
有人可以建议我如何比较这两个能让我了解搜索结果中相关顺序的信息吗?
此外,查询包含一组具有根据要求指定的适当权重(提升值)的字段。对于与上述文档2相对应的产品,使用的特定搜索字段包含特殊字符(&amp;)。这是两个文件细节结构不同的原因吗?
请帮忙。
此致