What is the best way to check if a field of a document in elasticsearch exists? I can't find anything in the documentation.
For example if this document doesn't have the field/key "price" I don't want to return in the result.
{
"updated": "2015/09/17 11:27:27",
"name": "Eye Shadow",
"format": "1.5 g / 0.05 oz",
}
What I can do?