elasticsearch 如何使用stempel分析器查找空字符串
我检查过这个: 此外,我们没有_源(不存储数据),因此无法使用:elasticsearch 如何使用stempel分析器查找空字符串,elasticsearch,elasticsearch,我检查过这个: 此外,我们没有_源(不存储数据),因此无法使用: {"filter": {"script": {"script": "_source._content.length() == 0"} 这: 这是: {"filter": {"missing": {"existence": true, "field": "name", "null_value": true}}, "query": {"match_all": {}}} 不行 似乎stempel在“”上存储了某种值(空字符串),它
{"filter": {"script": {"script": "_source._content.length() == 0"}
这:
这是:
{"filter": {"missing": {"existence": true, "field": "name", "null_value": true}}, "query": {"match_all": {}}}
不行
似乎stempel在“”上存储了某种值(空字符串),它不是“”也不是null
{"filter": {"missing": {"existence": true, "field": "name", "null_value": true}}, "query": {"match_all": {}}}