HI,
i want to update a filed type without deleting the index or data.
How can we achieve that?
Thanks in advanced.
HI,
i want to update a filed type without deleting the index or data.
How can we achieve that?
Thanks in advanced.
PUT foo/_doc/1
{
"foo": "bar"
}
PUT foo/_doc/1
{
"foo": "baz"
}
Are you talking about updating the mapping type of a field in an index? If so, that is unfortunately not possible and will require you to reindex your data into a new index.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.