http://stackoverflow.com/questions/15543308/elasticsearch-filtering-by-the-size-of-a-field-that-is-an-array
注意现在的missing关键字已经被取消了,请使用exists
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-exists-query.html
官方文档中讲的是对普通属性的Exists查询,对于nested属性,相关查询请这样写:
search_body = { "query": { "nested": { "path": "tags_list", "query": { "exists": {