Skip to content

Commit 201ba9a

Browse files
authored
[8.19] Adjust generated query in MultiMatchQueryBuilderTests (#128475)
* [8.19] Adjust generated query in MultiMatchQueryBuilderTests * spotlessApply
1 parent d5066d4 commit 201ba9a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,3 @@ tests:
470470
- class: org.elasticsearch.smoketest.SmokeTestMultiNodeClientYamlTestSuiteIT
471471
method: test {yaml=search.vectors/41_knn_search_byte_quantized/Test index configured rescore vector score consistency}
472472
issue: https://github.com/elastic/elasticsearch/issues/128353
473-
- class: org.elasticsearch.xpack.esql.qa.single_node.PushQueriesIT
474-
method: testEqualityAndOther {semantic_text}
475-
issue: https://github.com/elastic/elasticsearch/issues/128414

x-pack/plugin/esql/qa/server/single-node/src/javaRestTest/java/org/elasticsearch/xpack/esql/qa/single_node/PushQueriesIT.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,10 @@ public void testEqualityAndOther() throws IOException {
150150
* single_value_match is here because there are extra documents hiding in the index
151151
* that don't have the `foo` field.
152152
*/
153-
List.of("#(#foo:[1 TO 1] #single_value_match(foo)) #FieldExistsQuery [field=_primary_term]", "foo:[1 TO 1]");
153+
List.of(
154+
"#(#foo:[1 TO 1] #single_value_match(foo)) #FieldExistsQuery [field=_primary_term]",
155+
"#foo:[1 TO 1] #FieldExistsQuery [field=_primary_term]"
156+
);
154157
default -> throw new UnsupportedOperationException("unknown type [" + type + "]");
155158
};
156159
boolean filterInCompute = switch (type) {

0 commit comments

Comments
 (0)