Hi, in the docs I see that I can change the type of a field with the
followng:
$ curl -XPUT http://localhost:9200/twitter/user/_mapping -d '{
"properties" : {
"name" : { "type" : "string" }
}
}'
but how to get the current type of a field "name"?
Hi Ridvan
Hi, in the docs I see that I can change the type of a field with the
followng:
Beware - you can't change the existing type. You can add new types.
but how to get the current type of a field "name"?
You can get the current mapping using GET mapping:
Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.
clint