Check for a document source

  • HEAD /{index}/_source/{id}

Check whether a document source exists in an index. For example:

HEAD my-index-000001/_source/1
		

A document's source is not available if it is disabled in the mapping.

  • Index privileges: read
Learn more about _source field

Response

200 application/json