explain.asciidoc 329 B

123456789101112131415
  1. [[request-body-search-explain]]
  2. ==== Explain
  3. Enables explanation for each hit on how its score was computed.
  4. [source,console]
  5. --------------------------------------------------
  6. GET /_search
  7. {
  8. "explain": true,
  9. "query" : {
  10. "term" : { "user" : "kimchy" }
  11. }
  12. }
  13. --------------------------------------------------