Skip to content
This repository has been archived by the owner on Jun 5, 2024. It is now read-only.

Delta indexer for categories #55

Open
Cyclonecode opened this issue Dec 6, 2018 · 1 comment
Open

Delta indexer for categories #55

Cyclonecode opened this issue Dec 6, 2018 · 1 comment

Comments

@Cyclonecode
Copy link
Contributor

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?

@pkarw
Copy link
Contributor

pkarw commented Dec 7, 2018

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants