Unique Index names using elastic rest client

Read this and specifically the "Also be patient" part.

I did not say to run an agg on hits.hits._index bit on _index.

Alain, try first with the dev console, and make it work. Then convert to Java code.