下面语句的含义不是表示,name字段和age字段有一个不为空
它的真是含义是:should这个条件的反面,should的反面就是 name不为空 and age不为空
{
"query": {
"bool": {
"must_not": [
{
"bool": {
"should": [
{
"term": {
"name": {
"value": "",
"boost": 1.0
}
}
},
{
"term": {
"age": {
"value": "",
"boost": 1.0
}
}
}
],
"adjust_pure_negative": true,
"boost": 1.0
}
}
],
"adjust_pure_negative": true,
"boost": 1.0
}
}
}