Added elastic search support.