I'm learning Elasticsearch and Postman. I've set up Elasticsearch and it's up and running at my localhost:9200. I'm following the tutorial on Elasticsearch with Postman.
I put the object in the body as JSON

And I'm getting the following error.
I'm learning Elasticsearch and Postman. I've set up Elasticsearch and it's up and running at my localhost:9200. I'm following the tutorial on Elasticsearch with Postman.
I put the object in the body as JSON

And I'm getting the following error.
Type "string" is not used anymore, so I changed that to "text"
"type": "text" This seems to work. When I invoke a GET request localhost:9200/team/_mapping I get the results fine.
However, it says
types are being removed from Elasticsearch in 7.0, the mappings element will no longer return the type name as a top-level key by default.
I am really new,(started to learn elasticsearch today) so I do not know in detail.
member that you are specifying in you URL. From what I've seen the recommended way to provide explicit mapping is by doing PUT to localhost:9200/team with a json body {"mappings":{ "properties":{ "id": {"type":"text"}, [...] }}