Multiple independent instances on one server

Hi @Luca_Belluccini,

as I wrote, I have 2 copies of the same app running on the server, just each of them with different data (production vs. testing/demo). It's easy to separate serving of the apps (Apache) and have them live in different directories, but I'm not sure how to split the data storage in ES since both apps use the same structure (indices & mappings).

Maybe duplicating and prefixing the indices would be better? On the other hand I feel like separating production from test is more cleaner for times when I want to make changes on one of the version, shut one down for maintenance etc. Plus I'm not sure if it would be possible to "sync" ES with data from my database and not touch the indicies of the other app. Does it make sense, am I clear?

I know the best would be to have different machine for testing server, but that's just not an option right now.