boxalino / plugin-magento2

boxalino plugin for Magento 2
1 stars 6 forks source link

DeltaIndexer not functional in the default setup: the "Update on Save" functionalities seem missing #40

Open heldchen opened 8 years ago

heldchen commented 8 years ago

It seems as if for delta indexing, the required table boxalino_indexer_delta_cl is missing and not setup during the installation (InstallSchema) / upgrade (UpdateSchema) of the extension. additionally, there's no code that monitors changes on the products (i.e. no afterSave plugin/observers ^).

from my understanding of the indexer code, the delta indexer is therefore currently defunct and not working at all.

^ please try not to use mysql triggers - these present massive performance hits when loading lot of data (f.e. during m1 -> m2 product migration and data imports)

heldchen commented 8 years ago

as already discussed on the phone earlier this week - my initial assessment of the situation was wrong. the mentioned table is autogenerated by magento as soon as one changes the indexer type from "Update on Save" to "Update by Schedule".

in the current indexer implementation, the "Update on Save" functionality seems to be missing. it would be interesting to have this, rather than having to switch to the "Update by Schedule" type which has a much larger performance impact due to the triggers magento automatically creates when this mode is activated.

i updated the issue title accordingly.