SilverStripe\FullTextSearch\Search\Updaters\SearchUpdater::flush_dirty_indexes
Do something with the recorded dirty IDs, where that "something" depends on the value of self::$update_method, either immediately update the indexes, queue a messsage to update the indexes at some point in the future, or just throw the dirty IDs away.
Signature
public function flush_dirty_indexes()