min_score
排除_score小于min_score中指定的最小值的文档:
GET /_search
{
"min_score": 0.5,
"query" : {
"term" : { "user" : "kimchy" }
}
}
请注意,大多数情况下,这并不太有意义,但适用于高级用例。
原文地址:https://www.elastic.co/guide/en/elasticsearch/reference/5.0/search-request-min-score.html