Skip to content

Commit cdf896c

Browse files
committed
Add missing type combinations for the operator to docs
1 parent 68907ff commit cdf896c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/expression/function/fulltext/MatchOperatorTests.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,12 @@ public MatchOperatorTests(@Name("TestCase") Supplier<TestCaseSupplier.TestCase>
3030

3131
@ParametersFactory
3232
public static Iterable<Object[]> parameters() {
33-
// Have a minimal test so that we can generate the docs
33+
// Have a minimal test so that we can generate the appropriate types in the docs
3434
List<TestCaseSupplier> suppliers = new LinkedList<>();
3535
addPositiveTestCase(List.of(DataType.KEYWORD, DataType.KEYWORD), suppliers);
3636
addPositiveTestCase(List.of(DataType.TEXT, DataType.TEXT), suppliers);
37+
addPositiveTestCase(List.of(DataType.KEYWORD, DataType.TEXT), suppliers);
38+
addPositiveTestCase(List.of(DataType.TEXT, DataType.KEYWORD), suppliers);
3739
return parameterSuppliersFromTypedData(suppliers);
3840
}
3941
}

0 commit comments

Comments
 (0)