Added deleteAll to remove all docs from the index