module Sunspot::Rails::RequestLifecycle

This module adds an after_filter to ActionController::Base that commits the Sunspot session if any documents have been added, changed, or removed in the course of the request.