I am trying to look for values in a free form text field which may start with the exclamation mark (!) and exclude it from the results. But I can’t figure out what to put in the query input in the Kibana Discover.
Hey @smlbiobot is the content field currently "analyzed"? The standard analyzer in Elasticsearch will remove the ! from the resultant tokens which might be adding to the complexity.
If you have a "keyword" multi-field that isn't analyzed, you should be able to do this following: !content.keyword:\!*
@Brandon_Kobel ok and say if I want to create filter OR use something like that in Visualize, is there a way to store it somewhere and give it a name? Is this something I would do in scripted filters? And if it is, how would I type that?
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.