Comment 2 for bug 791663

Revision history for this message
Usman A (usmonster) wrote :

Does this get past line 28 in apps/frontend/lib/packages/agStaffPackage/lib/model/doctrine/PluginagStaff.class.php
 when you debug? The postSave() action will still be fired, but updateLucene() should return null without doing any of the heavy duty stuff if the constructor passes FALSE for the isAutoIndexed boolean. This has not been applied to agPerson since I don't think it has an updateLucene function (right?).

All the actual indexing should be happening at the end of the entire processImportEvent in agImportNormalization (it fires an event), which is still a slowish process, but it reindexes all staff at once instead of at each save, which is where the real speed-up happens. Optionally, you can make this part of a separate action.

[It's also worth noting that the public CUNY LP trunk doesn't have the most recent internal CUNY code. (Missing last 2+ days of work, I think?) I think sometime on Monday the auto pushes/mirroring stopped happening, or something? Can you investigate and verify?]