Query string ignore empty param

Index doc like:

curl -XPOST -d '{
"id": "1",
"test": "test"
}' "http://ip:port/test/test/1"

and search like:

http://ip:port/test/_search?q=id:"1" AND test:""

can match the document,why the test:"" condition ignore by es?i test it in es 5.6.8 and 5.6.16 and 6.5.3,the same.but in 7.3.1 it cant reproduction

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.