Hello,
I have a doubt at "index,type,id" here. In the video, you had a data and converted in json and then applied "index,type,id" above of each&every data. How did you do it? I checked the GitHub you shared.
Ex:{ "index" : { "_index" : "pokedex", "_type" : "pokemon", "_id" : "1" } }
{ "ndex": 1, "name": "Bulbasaur" }
{ "index" : { "_index" : "pokedex", "_type" : "pokemon", "_id" : "2" } }
{ "ndex": 2, "name": "Ivysaur" }
{ "index" : { "_index" : "pokedex", "_type" : "pokemon", "_id" : "3" } }
{ "ndex": 3, "name": "Venusaur"}
How did u take or automated this format like { "index" : { "_index" : "pokedex", "_type" : "pokemon", "_id" : "1" } }, here "id" will change of each and every data right?
Thanks advance.
Show less