karussell/elasticsearch-reindex — pull request #5 by ypocat (2013-03-22 14:23:50+00:00)
Title: ReIndexWithCreate improvements

- type now accepts `*`, which means "all mappings"
- before the delete check on index document count, the new index is refreshed (it could be paused, or the refresh_interval could be too long)
- when the target index exists, it is not created or modified, but the reindexing still goes through (this should probably be as an option, as it is potentially dangerous)
- proper REST response on completion (when an exception happens, this is not yet printed to the REST client (curl) - not sure why)

(sorry for the whitespace changes!)