OpenSearch/docs/reference/search/request/min-score.asciidoc
2013-11-29 20:29:20 +01:00

19 lines
424 B
Plaintext

[[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.