码迷,mamicode.com
首页 > 其他好文 > 详细

es 查询分词字段为空的数据

时间:2018-01-25 14:19:03      阅读:957      评论:0      收藏:0      [点我收藏+]

标签:lang   filter   source   查询   ram   blog   param   text   ext   

{
    "query": {
        "bool" : {
            "filter" : {
                "script" : {
                    "script" : {
                        "inline": "params._source.text_content==‘‘" ,
                        "lang": "painless"
                     }
                }
            }
        }
    }
}

 

es 查询分词字段为空的数据

标签:lang   filter   source   查询   ram   blog   param   text   ext   

原文地址:https://www.cnblogs.com/zihunqingxin/p/7658545.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!