aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/importedfields/parent_a.sd
blob: 2176c8bfe0aa3ce63a25aeaf3ce697e6fd4de20b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema parent_a {
  document parent_a {
    field grandparent_ref type reference<grandparent> {
      indexing: attribute
    }
    field int_field type int {
      indexing: attribute
    }
    field int_array_field type array<int> {
      indexing: attribute
    }
    field int_wset_field type weightedset<int> {
      indexing: attribute
    }
  }
  import field grandparent_ref.int_field as ancient_int_field {}
}