I am using Elasticsearch v.7.10.2 and Vega version is v.4.3.0.
I want to filter the dataset using AND logic and any of those codes below did not work.
They filter out the data if y equals to 0 no matter what y1 has.
I wonder why the code below works as I expected though. When I use the formula type, the value of delete would be true, only if y0 and also y1 is equal to 0.
Boolean and is && in Javascript, so filter 2 and 4 should work. Are you sure your data is numeric though? Since == in JS is a loose equality, and "0" == 0 but "0" !== 0
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.