magento-hackathon / AsyncIndex

MIT License
78 stars 37 forks source link

Wrong order of indexers #19

Open avstudnitz opened 9 years ago

avstudnitz commented 9 years ago

While integrating a special indexer mode with AvS_FastSimpleImport (see branch feature/asyncindex), I had some issues with products not indexing correctly. The problem was the wrong order of Index Processes. Some processes (i.e. catalogsearch_fulltext) depend on the cataloginventory_stock process having run before (in detail: they need an entry in the db table cataloginventory_stock_status). I don't know yet why, but the core indexer seems to be using a different order (I assume it handles one event after the next, and as the stockItem uses a seperate event, this is processed first).