PUT keywords_index/_mapping
{
"properties": {
"kakou": {
"type": "keyword",
"fields": {
"raw": {//别名--用于比较大小,
"type": "integer"
}
}
}
}
}
PUT keywords_index/_mapping
{
"properties": {
"kakou": {
"type": "keyword",
"fields": {
"raw": {//别名--用于比较大小,
"type": "integer"
}
}
}
}
}
本文标题:ElasticSearch为已存在的索引新增字段
本文链接:https://www.haomeiwen.com/subject/igrshltx.html
网友评论