added SQL->ES mapping