aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/matchsettings_simple_wss_wfs/test.sd
blob: eb71ad869320a9563caafc5b84c7c89d5f33b878 (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
33
34
35
36
37
38
39
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

schema test {
  document test {

    struct elem {
      field elem_field_1_string type string {
        match {
          exact
          exact-terminator: "@ef1@"
        }
      }
      field elem_field_2_int type int {}
    }

    field field_1_string type string {
      indexing: index
      match {
        exact
        exact-terminator: "@f1s@"
      }
    }

    field field_2_struct type elem {
      indexing: summary
      struct-field elem_field_1_string {
        indexing: index
        match {
          exact
          exact-terminator: "@f2s@"
        }
      }
      struct-field elem_field_2_int {
        indexing: attribute
      }
    }

  }
}