aboutsummaryrefslogtreecommitdiffstats
path: root/container-search/src/test/resources/config/qf_defaults/rank-profiles.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'container-search/src/test/resources/config/qf_defaults/rank-profiles.cfg')
-rw-r--r--container-search/src/test/resources/config/qf_defaults/rank-profiles.cfg23
1 files changed, 23 insertions, 0 deletions
diff --git a/container-search/src/test/resources/config/qf_defaults/rank-profiles.cfg b/container-search/src/test/resources/config/qf_defaults/rank-profiles.cfg
new file mode 100644
index 00000000000..731064c4dd6
--- /dev/null
+++ b/container-search/src/test/resources/config/qf_defaults/rank-profiles.cfg
@@ -0,0 +1,23 @@
+rankprofile[0].name "gp_with_qf_defaults"
+rankprofile[0].fef.property[0].name "vespa.rank.firstphase"
+rankprofile[0].fef.property[0].value "attribute(foo1)"
+rankprofile[0].fef.property[1].name "vespa.rank.globalphase"
+rankprofile[0].fef.property[1].value "rankingExpression(globalphase)"
+rankprofile[0].fef.property[2].name "rankingExpression(globalphase).rankingScript"
+rankprofile[0].fef.property[2].value "reduce(query(m_no_def) * query(v_no_def) * query(v_has_def) * attribute(t1), sum) + attribute(bar3) * query(w_no_def) * query(w_has_def)"
+rankprofile[0].fef.property[3].name "vespa.match.feature"
+rankprofile[0].fef.property[3].value "attribute(t1)"
+rankprofile[0].fef.property[4].name "vespa.match.feature"
+rankprofile[0].fef.property[4].value "attribute(bar3)"
+rankprofile[0].fef.property[5].name "vespa.type.attribute.t1"
+rankprofile[0].fef.property[5].value "tensor(m{},v[3])"
+rankprofile[0].fef.property[6].name "vespa.type.query.m_no_def"
+rankprofile[0].fef.property[6].value "tensor(m{})"
+rankprofile[0].fef.property[7].name "vespa.type.query.v_no_def"
+rankprofile[0].fef.property[7].value "tensor(v[3])"
+rankprofile[0].fef.property[8].name "query(w_has_def)"
+rankprofile[0].fef.property[8].value "1.0"
+rankprofile[0].fef.property[9].name "vespa.type.query.v_has_def"
+rankprofile[0].fef.property[9].value "tensor(v[3])"
+rankprofile[0].fef.property[10].name "query(v_has_def)"
+rankprofile[0].fef.property[10].value "tensor(v[3]):{{v:0}:2.0, {v:1}:0.25, {v:2}:1.5}"