Use this API to return the stored field of a document.
Parameters:
curl -XGET "http://localhost:9091/indexes/my_index/doc/3"
The API returns the stored fields of the document:
{ "name" : "Third name", "price" : 3.3, "stock" : 0 }