当对原有的索引添加字段后,想要查看某个字段在原有库里不存在
ip:port/index/_search
查看note字段不存在的数据
{
"query": {
"bool": {
"must_not": {
"exists": {
"field": "note"
}
}
}
}
}
当对原有的索引添加字段后,想要查看某个字段在原有库里不存在
ip:port/index/_search
查看note字段不存在的数据
{
"query": {
"bool": {
"must_not": {
"exists": {
"field": "note"
}
}
}
}
}