adding support for elastic search