Smile-SA / smile-magento-elasticsearch

Magento ElasticSearch Implementation
151 stars 90 forks source link

Products missing from collection. Possibly missing categories entirely? #150

Closed duffner closed 5 years ago

duffner commented 5 years ago

Preconditions (*)

  1. Migrated store from 1.9.0.1 to 2.3.0
  2. Magento version 2.3.0
  3. ElasticSuite "version": "2.7.0",
  4. Multiple Categories Created, with Sub Categories, previously set to "is_anchor" in Magento 1
  5. Parent Category has 215 products, approx 145 active

Steps to reproduce (*)

  1. Migrate Data from Magento 1 to Magento 2 (w/o settings) on Vanilla Magento Install
  2. Configure ElasticSuite
  3. Reindex Data including ElasticSuite

Expected result (*)

  1. Click on parent category on front-end
  2. See 145 products in the collection

Actual result (*)

  1. See 2 products in the collection screen shot 2018-12-11 at 9 46 45 am

Child Categories categories are also missing products, do you have any thoughts?

If I disable elastic suite, and reindex data, and click on the top level category expected products are visible.

ElasticSuite disabled

screen shot 2018-12-11 at 9 46 39 am

I'm struggling to know if this is a Migration issue, however, with stock Magento it works as expected.

As this is a development environment I can share any data necessary to help debug.
Thanks.

**EDIT** After attaching the screenshots, I noticed that it appears there are categories missing from the layered navigation entirely. Maybe that's important.