Browse Source

[TEST] MLT Rest test needs a mapping since we randomized number of nodes/shards

Simon Willnauer 11 năm trước cách đây
mục cha
commit
a9c8624c67
1 tập tin đã thay đổi với 7 bổ sung0 xóa
  1. 7 0
      rest-api-spec/test/mlt/10_basic.yaml

+ 7 - 0
rest-api-spec/test/mlt/10_basic.yaml

@@ -7,6 +7,13 @@
          settings:
            index:
              number_of_replicas: 0
+         mappings:
+           test:
+             properties:
+               foo:
+                 type : "string"
+               title:
+                 type : "string"
 
   - do:
       index: