Hi,
I am new to Elastic Search. Kindly help me on below issue.
By using the below query, still I am getting the field having value, which should not happen. Kindly suggest the solution for this issue,
Below is the updated query with proper syntax, in the below query we should be getting only the documents which has resolved = "" or resolved = null, which is not happening, I am even getting the resolved = 'abc'. Kindly let me know if I am missing anything or is there any other way to fix this
POST: /index/type/_search
So when the field is null or is not provided, the missing filter (replaced in 5.0 with must_notexists filter) gives expected results.
Obviously "foo":"" means that you provided something which is empty. Technically it's not a missing field or a missing value.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.