aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived/inheritfromparent/parent.sd
blob: 03ef9076ae68c8549f35ae025a339bd8f063ee98 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema parent {
    document parent {
        struct parent_struct {
            field parent_field type string { }
        }

        field weight_src type float {
        }
    }

   field weight type float {
      indexing {
         input weight_src * 10 | attribute | summary;
      }
   }
}