File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 99
1010import org .elasticsearch .Build ;
1111import org .elasticsearch .common .Strings ;
12- import org .elasticsearch .common .logging .LoggerMessageFormat ;
1312import org .elasticsearch .test .ESTestCase ;
1413import org .elasticsearch .xpack .esql .VerificationException ;
1514import 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 }
You can’t perform that action at this time.
0 commit comments