Is there a way to bring back the "in" query without using OR in ES 7.
For example: q=my-field:(value1 value2 value3) instead of q=my-field:(value1 OR value2 OR value3)
Is there a way to bring back the "in" query without using OR in ES 7.
For example: q=my-field:(value1 value2 value3) instead of q=my-field:(value1 OR value2 OR value3)
I think query string has a default operator. See if they'll do you.
You could also use a match query if you don't need the fancy field selecting syntax. That also supports matching any of the terms.
© 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.