change to use elasticsearch folder