Duplicate a document on elasticsearch

Hi,

I want to create a duplicate document entry in elasticsearch as it has 40 fields associated with it.

Also i want to create another document entry with just 1 fields altered.

Which command to go about ?

I replied to your SO thread, but there's no special commands for this.

Index the new document and it'll add the new field to the mapping for the index.