setting up the elastic search client