Smile-SA / smile-magento-elasticsearch

Magento ElasticSearch Implementation
151 stars 90 forks source link

Manually re-saving a product removes it from the magento2_default_catalog_product index #138

Closed Judder closed 6 years ago

Judder commented 6 years ago

Hi Smile Team

A strange one for you!

Manually creating products adds them correctly to the product Elastic index, and then they show in our categories

If we re-save them manually in the admin, changing any attribute or not, then they appear to be being removed from the index and no longer show in the category

Re-indexing produces a fresh index, but the products still don't show in the category

I've done some tests looking at the Elastic index count through the steps, and wondered whether these would throw any light onto what might be happening here?

BTW it could be one of our own custom extensions monitoring the same observers as this a big and relatively complex site, but we can't see anything obvious at the moment

Thanks!

Before

green open magento2_default_catalog_product_20180503_145226 F4U4tkgKRg-VS7OaWXUHoA 1 0 46942 0 38.2mb 38.2mb

New product Save [shows in category]

green open magento2_default_catalog_product_20180503_145226 F4U4tkgKRg-VS7OaWXUHoA 1 0 46949 0 38.2mb 38.2mb

Edit product and Save [drops out of category]

green open magento2_default_catalog_product_20180503_145226 F4U4tkgKRg-VS7OaWXUHoA 1 0 46942 0 38.2mb 38.2mb

Reindex [still not showing in category]

green open magento2_default_catalog_product_20180503_151041 agDGxhCJRl61fLrgrU378g 1 0 46943 0 38.2mb 38.2mb

Judder commented 6 years ago

Moving to M2 version - sorry for the incorrect posting!