# Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. schema test { document test { field id type int { indexing: attribute | summary } } rank-profile default { first-phase { expression: attribute(id) + 10 } } rank-profile match_features inherits default { function myfunc() { expression: attribute(id) + 20 } match-features: attribute(id) myfunc() } }