Gotta figure out why it's not clearing all documents from the index, this was working before. This method hasn't been unit tested, ergo...