setting up Elasticsearch server for processing data from microservices
<p>I am very new to elasticsearch and its scaling, and I've got a question I don't even know how to approach. </p>

<p>Here's the situation:</p>

<p>There're several servers with Rails microservice applications. Each of them is getting each its own pretty big piece of data (more specifically, aggregating posts from different social networks - so the indexable search fields are the same in all databases).</p>

<p>I need to find a solution that would allow to keep the data where it currently is and setting up an elasticsearch server dedicated exclusively to searching through multiple databases without the respective Rails apps turning on this search server. It potentially means setting up ES on each of the other servers, defining the search patterns there but making the multiple-model search on a totally different server.</p>

<p>The final goal of these manipulations should be sending the entire ActiveRecord objects / or all the related attributes to the main application.</p>

<p>Is it even possible to achieve? Maybe anyone has had a similar problem? </p>

<p>I am a little lost about how to get started with it.</p>