1
我有一个包含30,000.000个文档的索引。 我需要为即将到来的新文档添加一个新字段。 但我需要指定这个新字段的正确映射。更新ElasticSearch映射
此命令是否会导致已有文档的任何重新编排操作?
PUT /my_index/_mappings/my_type
{
"my_type": {
"properties": {
"A": {
"properties": {
"new_field": {
"type": "string",
"analyzer": "analyzer_keyword"
}
}
}
}
}
}