How to use elasticsearch with DB per account architecture?


Our system is implemented in a way that every account has its own database.

That mean that our Paper model for example has a table in account #1 database and a different table in account #2 database.

We didn't want to implement our indices this way also, as it creates a lot of time consuming problems. So we must overcome the non-unique id's of papers across different accounts.

Is there anyway to do that without adding a uuid to our tables?