I am playing with spring-boot-sample-data-elastcisearch project. I've changed the pom and added:
SampleElasticsearchApplicationWebXml extends SpringBootServletInitializer
to run with Tomcat embedded. My application.properties has
spring.data.elasticsearch.http-enabled=true
spring.data.elasticsearch.local=true
I want to be able to connect to localhost:9200 in order to use elasticsearch-head or other JS client. What am I missing? Thanks, Milan
According to this ticket, you can now simply add this line to your configuration files:
spring.data.elasticsearch.properties.http.enabled=true