If you use any Boolean syntax the matching logic becomes whole-word rather than partial word so you can use any of these to match just coke and not smoke:
"coke"
coke OR coke
coke AND coke 
coke NOT thisWordDoesNotExist
            If you use any Boolean syntax the matching logic becomes whole-word rather than partial word so you can use any of these to match just coke and not smoke:
"coke"
coke OR coke
coke AND coke 
coke NOT thisWordDoesNotExist
            © 2020. All Rights Reserved - Elasticsearch
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.