mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-30 10:23:41 -04:00
14 lines
305 B
Text
14 lines
305 B
Text
[[search-request-explain]]
|
|
=== Explain
|
|
|
|
Enables explanation for each hit on how its score was computed.
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
{
|
|
"explain": true,
|
|
"query" : {
|
|
"term" : { "user" : "kimchy" }
|
|
}
|
|
}
|
|
--------------------------------------------------
|