version: 6.7.0 and 7.17.6
mapping:
{
"t1": {
"type": "text",
"analyzer": "ik_max_word"
},
"t2": {
"type": "text",
"analyzer": "ik_max_word"
}
}
DSL:
POST test1/_search
{
"query": {
"bool": {
"filter": [
{
"query_string": {
"fields": [
"t3"
],
"query": """NOT("test")"""
}
}
]
}
}
}
Because there is no t3 field:
ES6 running the above statement returns 0 docs,
while ES7 running the statement returns all docs.
Was it in which version that the semantics of this situation were corrected?
What parameters can I configure to ensure consistency between ES7 and ES6 query results?