Added the deleteMapping and the typesExist to the ElasticClient class