Skip to content

Commit e4758d3

Browse files
committed
Remove unnecessary method
1 parent 7457544 commit e4758d3

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/VerifierTests.java

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99

1010
import org.elasticsearch.Build;
1111
import org.elasticsearch.common.Strings;
12-
import org.elasticsearch.common.logging.LoggerMessageFormat;
1312
import org.elasticsearch.test.ESTestCase;
1413
import org.elasticsearch.xpack.esql.VerificationException;
1514
import org.elasticsearch.xpack.esql.action.EsqlCapabilities;
@@ -1503,19 +1502,6 @@ private void checkWithFullTextFunctionsDisjunctions(String functionInvocation) {
15031502

15041503
}
15051504

1506-
private void checkdisjunctionScoringError(String position, String expression) {
1507-
assertEquals(
1508-
LoggerMessageFormat.format(
1509-
null,
1510-
"{}: Invalid condition when using METADATA _score [{}]. Full text functions can be used in an OR condition, "
1511-
+ "but only if just full text functions are used in the OR condition",
1512-
position,
1513-
expression
1514-
),
1515-
error("from test metadata _score | where " + expression)
1516-
);
1517-
}
1518-
15191505
public void testQueryStringFunctionWithNonBooleanFunctions() {
15201506
checkFullTextFunctionsWithNonBooleanFunctions("QSTR", "qstr(\"first_name: Anna\")", "function");
15211507
}

0 commit comments

Comments
 (0)