You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node/PushQueriesIT.java
+8-6Lines changed: 8 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -146,9 +146,10 @@ public void testEqualityOrOther() throws IOException {
146
146
FROM test
147
147
| WHERE test == "%value" OR foo == 2
148
148
""";
149
+
// query rewrite optimizations apply to foo, since it's query value is always outside the range of indexed values
149
150
StringluceneQuery = switch (type) {
150
-
caseAUTO, TEXT_WITH_KEYWORD -> "(#test.keyword:%value -_ignored:test.keyword) foo:[2 TO 2]";
0 commit comments