Expose method to clear the index