Explorar o código

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

Simon Willnauer %!s(int64=11) %!d(string=hai) anos
pai
achega
a9c8624c67
Modificáronse 1 ficheiros con 7 adicións e 0 borrados
  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: