sunspot/sunspot — pull request #135 by pallan (2011-12-04 16:22:39+00:00)
Title: Updates indexing to use batch processing with a config variable

This commit updates the indexing system to use ActiveRecord's batch selection option, find_each. This would force a minimum requirement of Rails 2.3.x, which does not seem unreasonable now. Additionally it adds the config variable "Sunspot.config.indexing.default_batch_size" to allow users to set their batch size globally.