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

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

 

posted @ 2018-01-25 12:49  cclient  阅读(3309)  评论(0编辑  收藏  举报