Hmm. But the commit is needed eventually, correct? Or should we leave it out of delete_search_db as well?

If it is needed then I need to add a separate solr commit api here, which seems like I'm exposing a bit too much of the underlying implementation.