When I search personal computer
→ Hit the document that includes personal OR computer
Can I change this condition to → Hit the document that includes personal AND computer??
I'm using elasticsearch 5.1.1
When I search personal computer
→ Hit the document that includes personal OR computer
Can I change this condition to → Hit the document that includes personal AND computer??
I'm using elasticsearch 5.1.1
You can put the string in quotes to search for the exact phrase or you can specify a boolean condition like you gave using AND
. See the Query String Syntax documenation.
thank you so much!!
This is exactly what I was looking for!!!
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.