aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/schemainheritance/child.sd
blob: a209919763d3cbe4bb64428eba76f8c56090398e (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
schema child inherits parent {

    document child inherits parent {

        field cf1 type string {
            indexing: summary
        }

    }

    fieldset child_set {
        fields: cf1, pf1
    }

    stemming: shortest

    index child_index {
        stemming: shortest
    }

    field child_field type string {
        indexing: input pf1 | lowercase | index | attribute | summary
    }

    rank-profile child_profile inherits parent_profile {
    }

    constant child_constant {
        file: constants/my_constant_tensor_file.json
        type: tensor<float>(x{},y{})
    }

    onnx-model child_model {
        file: small_constants_and_functions.onnx
    }

    document-summary child_summary inherits parent_summary {
        summary cf1 type string {}
    }

    import field importedschema_ref.importedfield2 as child_imported {}

}