mage2vuestorefront icon indicating copy to clipboard operation
mage2vuestorefront copied to clipboard

Delta indexer for categories

Open Cyclonecode opened this issue 5 years ago • 1 comments

I was wondering how to best syncronize changes to categories using a delta indexer. The productdelta command only syncronizes products. For instance, if I add a new category and an new product under this category and then run node --harmony cli.js productsdelta --partitions=1 no new category/product will be displayed when reloading the frontend.

Could this be done by running a normal full indexing for just categories e.g node --harmony cli.js categories --partitions=1 or similar?

Cyclonecode avatar Dec 06 '18 19:12 Cyclonecode

Yes, for now I believe its' a only way (to run the full reindex on categories); however, it would be nice to add categoriesdelta mode :-) The problematic thing is that if the category is on deeper level like 3, 4 - the parent categories should also be refreshed as the SidebarMenu.vue component is using category.children_data to display subcategories.

pkarw avatar Dec 07 '18 07:12 pkarw