aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/reference_from_several/foo.sd
blob: ead26bcbba3ec2aba8bfbf03dba08e6db1f245b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
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 {}
        summary foo {}
    }
}