Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use massupdate for updating indexes, much faster #13

Open
paales opened this issue Sep 1, 2014 · 1 comment
Open

Use massupdate for updating indexes, much faster #13

paales opened this issue Sep 1, 2014 · 1 comment

Comments

@paales
Copy link

paales commented Sep 1, 2014

In AvS_FastSimpleImport we use the following code to update indexes as fast as possible:
https://github.com/avstudnitz/AvS_FastSimpleImport/blob/master/src/app/code/community/AvS/FastSimpleImport/Model/Import/Entity/Product.php#L476-L532

As far as I can tell, this module runs the update per event and not as a whole, so there is room for improvement.

@Flyingmana
Copy link
Member

would need some tests, we try to have the indexer as non blocking as possible and a massupdate could be problematic.

Also you hit some conditions where you instead trigger an reindexAll which is absolutely blocking and not ok for this async indexer.
And it depends strongly on the kind of index, some of them still seem to loop, while others do a bit of magic.

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

No branches or pull requests

2 participants