OpenSearch/docs/reference/search/request/explain.asciidoc

16 lines
329 B
Plaintext
Raw Normal View History

[[request-body-search-explain]]
==== Explain
Enables explanation for each hit on how its score was computed.
[source,console]
--------------------------------------------------
GET /_search
{
"explain": true,
"query" : {
"term" : { "user" : "kimchy" }
}
}
--------------------------------------------------