17 lines
329 B
Plaintext
17 lines
329 B
Plaintext
[[search-request-explain]]
|
|
=== Explain
|
|
|
|
Enables explanation for each hit on how its score was computed.
|
|
|
|
[source,js]
|
|
--------------------------------------------------
|
|
GET /_search
|
|
{
|
|
"explain": true,
|
|
"query" : {
|
|
"term" : { "user" : "kimchy" }
|
|
}
|
|
}
|
|
--------------------------------------------------
|
|
// CONSOLE
|