=null && b.getRegionPlus() == 1).map(b->b.getRegion()).collect(Collectors.toList()); if(CollectionUtils.isNotEmpty(region0)){ termsQueryTQ = QueryBuilders.termsQuery("region.keyword", region0); boolQueryBuilder.mustNot(termsQueryTQ); } if(CollectionUtils.isNotEmpty(region1)){ termsQu...
return List.of(); } private boolean hasKqlQueryFeature() { return new KqlFeatures().getFeatures().contains(KQL_QUERY_SUPPORTED); } }118 changes: 118 additions & 0 deletions 118 x-pack/plugin/kql/src/main/java/org/elasticsearch/xpack/kql/query/KqlQueryBuilder.java Original...
Theinlooks for values in a list that you pass into theinparameters. Let’s take a look. We usewhereon theCounterName, then callin. In the parameters we pass in three values, three strings which we want to find rows with these values. The results show matches on some of the text that...