summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/importedfields/parent_a.sd
blob: 1f93b7884e09ead7d72b777c3ef2b94b0d9a784f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
search 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 {}
}