Skip to main content

Document Source and Query Explanation

Note

REST endpoints: _source and _explain.

Read Document Source by ID

GET /user_info/_source/1001

The ID is the document _id, not the business field uid.

Explain a Match

GET /user_info/_explain/1001 {"query":{"term":{"name":"mali"}}}

Explains whether a specific document matches the query; it is not a search-hit list.