Do we need to have the Elasticsearch and the web application installed on same server?

Hi Friends,

Currently we are testing to use elasticsearch with our web application. The web application is installed on one server, while ealsticsearch is installed on another server. Is it possible to use elasticsearch in this way.? What is the ideal approach?. Kindly suggest any documents.

Thanks a lot,
Best Regards

Is it possible to use elasticsearch in this way.?

Yes, of course.

What is the ideal approach?

Running ES on dedicated machines is often ideal but it's not always the best use of money.

Thank you for your response.
I need to use Spring Data with Elasticsearch. Can you please suggest, where I can find good documentation with many examples.

I guess here: http://docs.spring.io/spring-data/elasticsearch/docs/current/reference/html/

Note that spring data for elasticsearch > 2.0.0 does not seem to be released yet.

Thanks for your valuable suggestion.