I am playing with spring-boot-sample-data-elastcisearch project. I\'ve changed the pom and added:
SampleElasticsearchApplicationWebXml extends SpringBootServletI
According to this ticket, you can now simply add this line to your configuration files:
spring.data.elasticsearch.properties.http.enabled=true