added support for elastic search