[autotest] add script to copy data from one index to another index in es

This is useful when we need to change a mapping.

BUG=None
TEST=python es_reindex.py --index_old dshi.mtv \
     --index_new=dshi.mtv_new2 --timeout=10 --size=500

Change-Id: Ife546611a814817c21ec36da89418ab9688df82d
Reviewed-on: https://chromium-review.googlesource.com/212650
Tested-by: Michael Liang <michaelliang@chromium.org>
Reviewed-by: Dan Shi <dshi@chromium.org>
Commit-Queue: Michael Liang <michaelliang@chromium.org>
1 file changed