aboutsummaryrefslogtreecommitdiffstats
path: root/model-evaluation/src/test/resources/config/dotproduct/rank-profiles.cfg
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2023-02-25 08:38:50 +0000
committerArne Juul <arnej@yahooinc.com>2023-02-26 16:02:10 +0000
commit5c3e942429a1333718e0e4b94ae10d066abbd626 (patch)
treea90cbd24b1c4460a8bba88b44006521c1f0dbb4d /model-evaluation/src/test/resources/config/dotproduct/rank-profiles.cfg
parenta8659be0f80b80e875222baa259f938bde151023 (diff)
pick up declared type of query/attribute features,
and handle globalphase not wrapped in rankExpression().
Diffstat (limited to 'model-evaluation/src/test/resources/config/dotproduct/rank-profiles.cfg')
-rw-r--r--model-evaluation/src/test/resources/config/dotproduct/rank-profiles.cfg9
1 files changed, 9 insertions, 0 deletions
diff --git a/model-evaluation/src/test/resources/config/dotproduct/rank-profiles.cfg b/model-evaluation/src/test/resources/config/dotproduct/rank-profiles.cfg
new file mode 100644
index 00000000000..ae1e6791f3e
--- /dev/null
+++ b/model-evaluation/src/test/resources/config/dotproduct/rank-profiles.cfg
@@ -0,0 +1,9 @@
+rankprofile[0].name "default"
+rankprofile[0].fef.property[0].name "vespa.rank.globalphase"
+rankprofile[0].fef.property[0].value "sum(attribute(aa) * query(zz))"
+rankprofile[0].fef.property[1].name "vespa.match.feature"
+rankprofile[0].fef.property[1].value "attribute(aa)"
+rankprofile[0].fef.property[2].name "vespa.type.attribute.aa"
+rankprofile[0].fef.property[2].value "tensor(d0[3])"
+rankprofile[0].fef.property[3].name "vespa.type.query.zz"
+rankprofile[0].fef.property[3].value "tensor(d0[3])"