我对Elasticsearch有一个简单的JSON查询,如下所示:
"query": { "bool": { "must": { "match": { "id": "1" }} , "must": { "match": { "tags.name": "a1"}} } }
仅当值(本例中为‘a1’)不为空时,我如何才能执行第二个‘必须’标准?
https://stackoverflow.com/questions/29867301
相似问题