One-off java application to recreate elasticsearch index