我正试图向利益相关者解释一个分数,除了一个嵌套的分数(我不知道它来自哪里),一切都很好,
这是我的嵌套查询:
{
"nested": {
"path": "Blogs","query": {
"bool": {
"should": [
{
"match": {
"Blogs.Content": {
"query": "natural language processing","operator": "and"
}
}
},{
"match": {
"Blogs.Title": {
"query": "natural language processing","operator": "and"
}
}
}
]
}
}
}
}
这是服务器上的说明:
{
"value": 27.200674,"description": "Score based on 3 child docs in range from 555905 to 556048,best match:","details": [
{
"value": 36.431717,"description": "sum of:","details": [
{
"value": 16.900509,"details": [
{
"value": 6.0398054,"description": "weight(Blogs.Content:natural in 68490) [PerFieldSimilarity],result of:","details": [
{...}
]
},{
"value": 5.6280847,"description": "weight(Blogs.Content:language in 68490) [PerFieldSimilarity],{
"value": 5.232618,"description": "weight(Blogs.Content:processing in 68490) [PerFieldSimilarity],"details": [
{...}
]
}
]
},{
"value": 19.531208,"details": [
{
"value": 6.6028557,"description": "weight(Blogs.Title:natural in 68490) [PerFieldSimilarity],{
"value": 6.6028557,"description": "weight(Blogs.Title:language in 68490) [PerFieldSimilarity],{
"value": 6.3254976,"description": "weight(Blogs.Title:processing in 68490) [PerFieldSimilarity],"details": [
{...}
]
}
]
}
]
}
]
}
我的问题是:鉴于比赛的总和是36.431717,如何计算分数27.200674?查询中未包含任何公式。