Added support for Elastic seach many-to-many relation. Issue #347