Update Existing Mapping


(Praveenkumar Arepalli) #1

How to update Existing mapping in Index?

"firstName" : {
"type" : "multi_field",
"fields" : {
"firstName" : {
"type" : "string"
}
"index_options" : "docs",
"include_in_all" : false
}
}

Here i want update *"index_options" : "docs" *to "index_options" :
"positions",

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/67d73fab-339e-4a6f-8bd3-9e776b546fd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Binh Ly-2) #2

Unfortunately you can't "update" the index_options after it's in already.
You'll need to delete your index and redefine the mapping.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/689f54ce-d31f-4ea5-8ce8-579daf6a020d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #3