aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/matchsettings_map_after/test.sd
blob: 21def1290ba0d01fca23540ab20d3e949afb98dc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema test {
  document test {

    field mse4 type map<string,elem> {
      indexing: summary
      struct-field key {
        indexing: index
        match {
          exact
          exact-terminator: "@mse4_key@"
        }
      }
      struct-field value.sf1s {
        indexing: index
        match {
          exact
          exact-terminator: "@mse4_value_sf1s@"
        }
      }
      struct-field value.sf2i {
        indexing: attribute
      }
    }

    struct elem {
      field sf1s type string {}
      field sf2i type int {}
    }

  }
}