using elastic search as cache