loopbackio / loopback-connector-elastic-search

Strongloop Loopback connector for Elasticsearch
MIT License
79 stars 55 forks source link

Multiple indexes for one datasource #136

Open true-eye opened 3 years ago

true-eye commented 3 years ago

The doc says This connector will only connect to one index per datasource. I'm going to upgrade the elasticsearch version to 7 from 6. Because of this, I'm implementing loopback-connector-esv6 library. But previously I had two indexes for one datasource and provide array to mappings field of configuration.

But the new library only has mappingProperties field and it seems doesn't accept an array. How can I configure multiple indexes?