RoR: Migrating from PostgreSQL to Elastic
<p>we are looking to transfer a part of our database to from PostgreSQL to Elastic: basically we want to combine three tables  - <code>Properties</code>, <code>Listings</code> and <code>Addresses</code> into single document.</p>

<p>I couldn't find any <em>standard</em> tools and probably, as we have a Ruby on Rails application, the pimpliest and most reliable way will be to write a migration which will just iterate through the models, compose them into single document and save to Elastic. </p>

<p>The task doesn't seem to be complicated but as that it's my first experience with Elastic I want to check with the community.</p>

<p>Thanks.</p>