aboutsummaryrefslogtreecommitdiffstats
path: root/integration/intellij/src/test/applications/schemainheritance/parent.sd
blob: 17b28922c1fd7405b0bd7f1a94f0ec2469403184 (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
44
45
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema parent {

    document parent {

        field pf1 type string {
            indexing: summary
        }

        field importedschema_ref type reference<importedschema> {
            indexing: attribute
        }

    }

    fieldset parent_set {
        fields: pf1
    }
    stemming: none
    index parent_index {
        stemming: best
    }
    field parent_field type string {
        indexing: input pf1 | lowercase | index | attribute | summary
    }
    rank-profile parent_profile {
        function parentFunction() {
            expression: random
        }
    }
    constant parent_constant {
        file: constants/my_constant_tensor_file.json
        type: tensor<float>(x{},y{})
    }
    onnx-model parent_model {
        file: small_constants_and_functions.onnx
    }
    document-summary parent_summary {
        summary pf1 type string {
        }
    }
    import field importedschema_ref.importedfield1 as parent_imported {
    }
    raw-as-base64-in-summary
}