你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
没有找到相关结果
pony_maggie - 公众号:犀牛饲养员的技术笔记
赞同来自: zzd75090497
trycatchfinal
赞同来自: xiaoyuer0225
{ "query": { "bool": { "should": [ { "terms": { "job_type": [ "12", "49", "67" ] } }, { "bool": { "must_not": [ { "exists": { "field": "job_type" } } ] } } ], "minimum_number_should_match": 1 } } }
要回复问题请先登录或注册
2 个回复
pony_maggie - 公众号:犀牛饲养员的技术笔记
赞同来自: zzd75090497
空值的搜索考虑使用painless脚本,判断数组的长度为0
trycatchfinal
赞同来自: xiaoyuer0225