Hi,
I need to do two kind of searches in one search , using "AND" and "OR"
operator. The sort result should be with "AND" before "OR" operator.
Is it possible?
Tks.
--
Hi,
I need to do two kind of searches in one search , using "AND" and "OR"
operator. The sort result should be with "AND" before "OR" operator.
Is it possible?
Tks.
--
Lucene doesn't apply any precedence to AND/OR operators so you need to wrap
your conditionals in parenthesis :
test:(some AND stuff) OR (some AND other)
On Thu, Dec 13, 2012 at 5:45 AM, Boaz Trindade boaz.trindade@gmail.comwrote:
Hi,
I need to do two kind of searches in one search , using "AND" and "OR"
operator. The sort result should be with "AND" before "OR" operator.Is it possible?
Tks.
--
--
© 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.