Skip to content

Commit 11b9606

Browse files
gmaroulikkrik-es
andauthored
Update server/src/test/java/org/elasticsearch/action/admin/cluster/stats/MappingVisitorTests.java
Co-authored-by: Kostas Krikellas <[email protected]>
1 parent c7189f5 commit 11b9606

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/test/java/org/elasticsearch/action/admin/cluster/stats/MappingVisitorTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void testConvertLongToKeyword() {
143143
Map<String, Object> textType = Map.of("type", "text");
144144
Map<String, Object> floatType = Map.of("type", "float", "scaling_factor", 1000);
145145
Map<String, Object> multiField = Map.of("type", "keyword", "fields", Map.of("my-long", longType, "my-float", floatType));
146-
Map<String, Object> objectField = Map.of("type", "keyword", "properties", Map.of("my-text", textType, "my-long", longType));
146+
Map<String, Object> objectField = Map.of("type", "object", "properties", Map.of("my-text", textType, "my-long", longType));
147147
Map<String, Object> expectedProperties = Map.of(
148148
"properties",
149149
Map.of("my-long", longType, "my-float", floatType, "my-multi-field", multiField, "my-object", objectField)

0 commit comments

Comments
 (0)