spring-boot icon indicating copy to clipboard operation
spring-boot copied to clipboard

How to use remote elasticsearch instead of embedded one

Open tarunendra opened this issue 10 years ago • 1 comments

I want to use external elasticsearch running instead of using embedded one. i tried enabling couple of properties in application.properties but that didn't work.

I can see elasticsearch running and I'm able to do things with that but somehow my spring application is not connecting to that one, below configuration I give.

spring.data.elasticsearch.properties.http.enabled=true spring.data.elasticsearch.properties.host = localhost spring.data.elasticsearch.properties.port = 9300

tarunendra avatar Oct 24 '16 19:10 tarunendra

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. As mentioned in the guidelines for contributing, we prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it) or add some more details if you feel this is a genuine bug.

wilkinsona avatar Oct 24 '16 20:10 wilkinsona