可以将每个字段_score
设置为inner_hits
得分的最高分数吗?
示例:
{
"_index": "index",
"_type": "alias",
"_id": "AViSPf6GaurMMeQ9qGiW",
"_score": 0.95593464,
"_source": {
...
},
"inner_hits": {
"tags": {
"hits": {
"total": 2,
"max_score": 1.1711202,
"hits": [
...
]
}
}
}
}
我想将_score
设置为来自max_score
的{{1}},因此在这种情况下inner_hits
应为1.1711202。