Hi there,
I am wondering how can I filter the search result filtering the field!='key words'? something like:
select * from tbl where col1!='test'
Thanks,
Chelsea
Hi there,
I am wondering how can I filter the search result filtering the field!='key words'? something like:
select * from tbl where col1!='test'
Thanks,
Chelsea
Hi,
Look at Bool query must_not with the TermQuery in.
https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-bool-query.html
bye,
Xavier
© 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.