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