Java Client to insert index with mapping

I believe this is the same question as you already posted there:

No need to post it multiple times. Thanks.