set ES doctype based on tenant id
Merge pull request #340 from zinic/master

set ES doctype based on tenant id