pat / thinking-sphinx

Sphinx/Manticore plugin for ActiveRecord/Rails
http://freelancing-gods.com/thinking-sphinx
MIT License
1.63k stars 468 forks source link

Use after_commit callbacks for real-time changes. #1204

Closed pat closed 3 years ago

pat commented 3 years ago

This also applies to deletions generally (no matter what type of indices are in play).

This was prompted by feedback from @krauselukas in #1203. It certainly makes more sense to wait until the database changes are fully committed before we update Sphinx, so I feel like this switch is a smart one.