clear the search index on shutdown