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

15 lines
305 B
Plaintext
Raw Normal View History

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