Change search-index commit to happen only for updates.