worker for rebuilding search index