CrossRef / cayenne

MOVED to https://gitlab.com/crossref/rest_api
https://gitlab.com/crossref/rest_api
MIT License
17 stars 9 forks source link

Elastic index creation fails if they already exist. #54

Closed afandian closed 5 years ago

afandian commented 5 years ago

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.