Create an Elasticsearch algorithm to search for documents based on specific criteria.
Search for documents containing the term 'Python' in the body field.
GET products/_search
{
 "query": {
  "term": {
   "body": "Python"
  }
 }
}