summaryrefslogtreecommitdiff
path: root/docs/reference/search/request/min-score.asciidoc
blob: f5a212ebf8e3f4b65e6f3b4b975f555d187a971b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[[search-request-min-score]]
=== min_score

Exclude documents which have a `_score` less than the minimum specified
in `min_score`:

[source,js]
--------------------------------------------------
{
    "min_score": 0.5,
    "query" : {
        "term" : { "user" : "kimchy" }
    }
}
--------------------------------------------------

Note, most times, this does not make much sense, but is provided for
advanced use cases.