aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/converter/parent.sd
blob: f05edaef787f49814f45926bc9ad37db6c45fc47 (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
# Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search parent {

  struct ps {
    field wil type weightedset<string> {}
    field after type array<long> {}
    field psi type item {}
  }

  document parent inherits grandparent {

    field b type string {
      indexing: index | summary
    }

    field bps type ps {
      indexing: summary
    }

    field location type array<position> {
      indexing: attribute
    }
  }

  struct redef {
    field x type int {}
    field y type string {}
  }
}