cayenne.elastic.mappings/create-indexes expects all indexes not to be present and will fail if they already exist. Sometimes we want to manually delete one or more index and re-create it by running create-indexes.
Update create-indexes to accept pre-existing indexes, and create only when they don't exist.
cayenne.elastic.mappings/create-indexes
expects all indexes not to be present and will fail if they already exist. Sometimes we want to manually delete one or more index and re-create it by runningcreate-indexes
.Update
create-indexes
to accept pre-existing indexes, and create only when they don't exist.