During large imports of data running through models, having per-object save
update the search index is painfully slow. Ideally I'd like to disable the
updates that save() and delete() call in favor of running a batch reindex
sometime after I've imported data.
I've attached a patch that allows for this functionality. From the model
class, a user can set the indexer's 'do_updates' property to False, which
will cause update_object/remove_object to not run. I'm not wild about the
'do_updates' name, so feel free to change it to something more clever.
Original issue reported on code.google.com by sed...@gmail.com on 13 Mar 2008 at 8:07
Original issue reported on code.google.com by
sed...@gmail.com
on 13 Mar 2008 at 8:07Attachments: