Consider this situation:
plugin1: name "product_index", creates indexes using the schema product-[languagename]
plugin2: name "product_collection_index" creates indexes using the schema product-collection-term-[languagename]
When trying to run "eshd product-index", ES helper will look for all indexes that match the pattern `product-*`, which includes the indexes created by the "product_collection_index" plugin, leading to data loss.
(mitigated by the fact that the drush command tells you which indexes are going to be deleted).
see attached screenshot.

| Comment | File | Size | Author |
|---|---|---|---|
| bug_es_helper.png | 83.79 KB | vermario |
Comments
Comment #2
vermario commented