Skip to content

Commit

Permalink
improve error logging
Browse files Browse the repository at this point in the history
  • Loading branch information
dennyzhang committed Mar 30, 2017
1 parent 49b59e1 commit 06db645
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bash/es_reindex.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@
## Description : Re-index existing giant index to create more shards.
## Then create alias to handle the requests properly
## Check more: https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html
##
## Sample: bash es_reindex.sh staging-index-e4010da4110ba377d100f050cb4440db 3
## --
## Created : <2017-03-27>
## Updated: Time-stamp: <2017-03-29 19:19:29>
## Updated: Time-stamp: <2017-03-29 19:21:19>
##-------------------------------------------------------------------
old_index_name=${1?}
shard_count=${2:-"10"}
Expand Down

0 comments on commit 06db645

Please sign in to comment.