fix elasticsearch and solr in travis ci