aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/reference_from_several/foo.sd
blob: bfc4eca28c24ac0bf2db4e618ae09ce7a9dcded4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
schema foo {
    document foo {
        field myref type reference<parent> {
            indexing: attribute
        }
        field foo type string {
            indexing: attribute | summary
        }
    }
    import field myref.x as myx {}
    document-summary small {
        summary myx type int {}
        summary foo type string {}
    }
}