use http when talking to elasticsearch