搜索结果正在快递途中

对于禁用了_field_names的字段为什么_exists_仍然有效?

Elasticsearch | 作者 wangxinrong | 发布于2020年04月16日 | 阅读数:2045

mapping设置为 "_field_names": {"enabled": false}
 
DSL中使用exists filter查询,或者是kibana上添加exists的filter查询时,都会报错,提示
Cannot run [exists] queries if the [_field_names] field is disabled
 
但是使用query_string中的_exists_,或者是直接在kibana搜索框里输入 _exists_: xxx_field 就能成功查询,这是什么原理呢?
已邀请:

要回复问题请先登录注册