示例:
POST /blogs/_search
{
"query": {
"bool": {
"should": [
{ "match": { "title": "Brown fox" }},
{ "match": { "body": "Brown fox" }}
]
}
}
, "explain": true
}
通过explain查看 "_explanation" : {
"value" : 0.9251295,
"description" : "sum of:",
是将should里两个查询算分相加。并没有除以查询语句的数量
1 个回复
core_wzw - 某AILab搜索技术负责人
赞同来自: