# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
schema parent2 {
document parent2 {
field field2 type int {
indexing: attribute
}
}
rank-profile profile2 {
function function2() {
expression: attribute(field2) + 5
}
summary-features {
function2
attribute(field2)
}
}
}