I see you opened another thread ...
Hi @navin1093 I did not realize you were trying to set _type
as the poster stated that is not longer supported if you just want to set a normal field named type
you can still do that, but it is just like any other field.
In reality, with the removal of types ( "_type" : "_doc"
always ) , You should think of an index as a table not a database...