aboutsummaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-01-28 12:37:42 +0100
committerJon Bratseth <bratseth@gmail.com>2022-01-28 12:37:42 +0100
commit87c1e9391b9b94a72ae36a84900ff39fcd1baa30 (patch)
tree642ec1c1d636df9362e5271604e18fe7824b00b8 /config-model
parentad5a26fb5fed5b8c29a997ecb3216a941df3e0b5 (diff)
Test inheriting a profile defined later
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/test/derived/rankprofilemodularity/rank-profiles.cfg9
-rw-r--r--config-model/src/test/derived/rankprofilemodularity/test.sd3
2 files changed, 12 insertions, 0 deletions
diff --git a/config-model/src/test/derived/rankprofilemodularity/rank-profiles.cfg b/config-model/src/test/derived/rankprofilemodularity/rank-profiles.cfg
index 1c30810e2ef..9364e7e1369 100644
--- a/config-model/src/test/derived/rankprofilemodularity/rank-profiles.cfg
+++ b/config-model/src/test/derived/rankprofilemodularity/rank-profiles.cfg
@@ -8,6 +8,15 @@ rankprofile[].fef.property[].name "vespa.hitcollector.arraysize"
rankprofile[].fef.property[].value "0"
rankprofile[].fef.property[].name "vespa.dump.ignoredefaultfeatures"
rankprofile[].fef.property[].value "true"
+rankprofile[].name "in_schema0"
+rankprofile[].fef.property[].name "rankingExpression(fo2).rankingScript"
+rankprofile[].fef.property[].value "random"
+rankprofile[].fef.property[].name "rankingExpression(f2).rankingScript"
+rankprofile[].fef.property[].value "fieldMatch(title) + rankingExpression(fo2)"
+rankprofile[].fef.property[].name "rankingExpression(fo1).rankingScript"
+rankprofile[].fef.property[].value "now"
+rankprofile[].fef.property[].name "vespa.rank.firstphase"
+rankprofile[].fef.property[].value "rankingExpression(f2)"
rankprofile[].name "in_schema1"
rankprofile[].fef.property[].name "vespa.rank.firstphase"
rankprofile[].fef.property[].value "nativeRank"
diff --git a/config-model/src/test/derived/rankprofilemodularity/test.sd b/config-model/src/test/derived/rankprofilemodularity/test.sd
index 58ee280490e..b017a70fef1 100644
--- a/config-model/src/test/derived/rankprofilemodularity/test.sd
+++ b/config-model/src/test/derived/rankprofilemodularity/test.sd
@@ -8,6 +8,9 @@ schema test {
}
+ rank-profile in_schema0 inherits in_schema3 {
+ }
+
rank-profile in_schema1 {
first-phase {