adding support for elactic search