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

Updates indexing to use batch processing with a config variable #135

Closed
wants to merge 1 commit into from
Closed

Conversation

pallan
Copy link
Contributor

@pallan pallan commented Dec 4, 2011

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.

@alindeman
Copy link
Member

Cool, thanks! 👍

@alindeman
Copy link
Member

Merged: f5bd456

@alindeman alindeman closed this Dec 4, 2011
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

Successfully merging this pull request may close these issues.

None yet

2 participants