Please ignore this. When i imported the data, I named the index as " ecommerce_data" and hence I got the error message "resource_already_exists_exception"
Worth suggesting in Git repo to import the file and use a name for the index as "ecommerce_orig"
Then, data cleanup would work seamlessly.