Now I want to search (using a filter on the Kibana web console) for docs in which the field "genre" does not exist. I expect two docs in the result set. How do I do that ?
Thanks @flash1293 Joe Reuter
I could send in the query you proposed via Postman to hit ElasticSearch.
However I also tried the following in the search textbox on the Kibana Web console
not genre:* and that gave me the docs that do not contain the genre key in the doc
I thought you were talking about the dev console, but it seems you mean the search bar on top of Discover/Visualize/Dashboard? If it is set to KQL, then not genre:* is indeed the right way to do this. For Lucene, you can use _exists_:genre
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.