aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/matchsettings_simple_def/test.sd
blob: 766d72864d3c8c5888757ac91e4662402648bb11 (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
# 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 {}
      field elem_field_2_int type int {}
    }

    field field_1_string type string {
      indexing: index
    }

    field field_2_struct type elem {
      indexing: summary
      struct-field elem_field_1_string {
        indexing: index
      }
      struct-field elem_field_2_int {
        indexing: attribute
      }
    }

  }
}