Added mapping support in elasticserch config.