Skip to content

Commit ab7935d

Browse files
committed
Update tests to support nested fields
1 parent 42a20f9 commit ab7935d

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

rest-api-spec/src/yamlRestTest/resources/rest-api-spec/test/tsdb/20_mapping.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,6 @@ nested dimensions:
322322
reason: message changed in 8.2.0
323323

324324
- do:
325-
catch: /time_series_dimension can't be configured in nested field \[nested.dim\]/
326325
indices.create:
327326
index: test
328327
body:
@@ -351,7 +350,6 @@ nested fields:
351350
reason: message changed in 8.2.0
352351

353352
- do:
354-
catch: /cannot have nested fields when index is in \[index.mode=time_series\]/
355353
indices.create:
356354
index: test
357355
body:

x-pack/plugin/inference/src/test/java/org/elasticsearch/xpack/inference/mapper/SemanticTextFieldMapperTests.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,11 +136,6 @@ protected void minimalMapping(XContentBuilder b) throws IOException {
136136
b.field("type", "semantic_text");
137137
}
138138

139-
@Override
140-
protected String minimalIsInvalidRoutingPathErrorMessage(Mapper mapper) {
141-
return "cannot have nested fields when index is in [index.mode=time_series]";
142-
}
143-
144139
@Override
145140
protected void metaMapping(XContentBuilder b) throws IOException {
146141
super.metaMapping(b);

0 commit comments

Comments
 (0)