diff options
author | Arne Juul <arnej@vespa.ai> | 2023-10-30 11:27:01 +0000 |
---|---|---|
committer | Arne Juul <arnej@vespa.ai> | 2023-10-30 11:51:20 +0000 |
commit | deb7ac732b85a497a545f8df15e9d4e65943031c (patch) | |
tree | 8d411a1be666e70f2fb8eefb77d0205e374b24fd /config-model/src/test/derived/rankingexpression/rank-profiles.cfg | |
parent | f2d3bcf477b133cd3f6519466bd07a9a14cfdf3e (diff) |
handle functions with arguments
* should work as match-features and summary-features now
* and they will become hidden/implicit match-feature if used from global-phase
Diffstat (limited to 'config-model/src/test/derived/rankingexpression/rank-profiles.cfg')
-rw-r--r-- | config-model/src/test/derived/rankingexpression/rank-profiles.cfg | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/config-model/src/test/derived/rankingexpression/rank-profiles.cfg b/config-model/src/test/derived/rankingexpression/rank-profiles.cfg index b3257c962dd..87882eef273 100644 --- a/config-model/src/test/derived/rankingexpression/rank-profiles.cfg +++ b/config-model/src/test/derived/rankingexpression/rank-profiles.cfg @@ -582,3 +582,91 @@ rankprofile[].normalizer[].name "normalize@3221316369@rrank" rankprofile[].normalizer[].input "nativeRank" rankprofile[].normalizer[].algo RRANK rankprofile[].normalizer[].kparam 60.0 +rankprofile[].name "function-with-arg-as-summary-feature" +rankprofile[].fef.property[].name "vespa.type.feature.attribute(t1)" +rankprofile[].fef.property[].value "tensor(m{},v[3])" +rankprofile[].fef.property[].name "rankingExpression(plusOne@478d886d33f680d).rankingScript" +rankprofile[].fef.property[].value "41 + 1" +rankprofile[].fef.property[].name "rankingExpression(useAttr@93d0729be0db6c70.30effc5f9cc0df93).rankingScript" +rankprofile[].fef.property[].value "attribute(foo1) * 17" +rankprofile[].fef.property[].name "rankingExpression(plusOne).rankingScript" +rankprofile[].fef.property[].value "x + 1" +rankprofile[].fef.property[].name "rankingExpression(useAttr).rankingScript" +rankprofile[].fef.property[].value "attribute(name) * weight" +rankprofile[].fef.property[].name "vespa.rank.firstphase" +rankprofile[].fef.property[].value "nativeRank" +rankprofile[].fef.property[].name "vespa.summary.feature" +rankprofile[].fef.property[].value "attribute(t1)" +rankprofile[].fef.property[].name "vespa.summary.feature" +rankprofile[].fef.property[].value "rankingExpression(plusOne@478d886d33f680d)" +rankprofile[].fef.property[].name "vespa.summary.feature" +rankprofile[].fef.property[].value "rankingExpression(useAttr@93d0729be0db6c70.30effc5f9cc0df93)" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "rankingExpression(plusOne@478d886d33f680d)" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "plusOne(41)" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "rankingExpression(useAttr@93d0729be0db6c70.30effc5f9cc0df93)" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "useAttr(foo1,17)" +rankprofile[].fef.property[].name "vespa.type.attribute.t1" +rankprofile[].fef.property[].value "tensor(m{},v[3])" +rankprofile[].name "function-with-arg-in-global-phase" +rankprofile[].fef.property[].name "rankingExpression(useAttr@6598f1aecaec0a2d.40876484d21a389).rankingScript" +rankprofile[].fef.property[].value "attribute(t1) * 42" +rankprofile[].fef.property[].name "rankingExpression(plusOne@31852fecfab75f29).rankingScript" +rankprofile[].fef.property[].value "2 + 1" +rankprofile[].fef.property[].name "rankingExpression(useAttr@93d0729be0db6c70.fe12ed266262cc16).rankingScript" +rankprofile[].fef.property[].value "attribute(foo1) * 1.25" +rankprofile[].fef.property[].name "rankingExpression(withIndirect@93d0729be0db6c70).rankingScript" +rankprofile[].fef.property[].value "rankingExpression(useAttr@93d0729be0db6c70.fe12ed266262cc16)" +rankprofile[].fef.property[].name "rankingExpression(plusOne@4a2b16f9107d7185).rankingScript" +rankprofile[].fef.property[].value "attribute(foo2) + 1" +rankprofile[].fef.property[].name "vespa.type.feature.useAttr(t1,42)" +rankprofile[].fef.property[].value "tensor(m{},v[3])" +rankprofile[].fef.property[].name "rankingExpression(plusOne).rankingScript" +rankprofile[].fef.property[].value "x + 1" +rankprofile[].fef.property[].name "rankingExpression(useAttr).rankingScript" +rankprofile[].fef.property[].value "attribute(name) * weight" +rankprofile[].fef.property[].name "rankingExpression(useAttr@2e0b6bb9bf541103.fe12ed266262cc16).rankingScript" +rankprofile[].fef.property[].value "attribute(name) * 1.25" +rankprofile[].fef.property[].name "rankingExpression(withIndirect).rankingScript" +rankprofile[].fef.property[].value "rankingExpression(useAttr@2e0b6bb9bf541103.fe12ed266262cc16)" +rankprofile[].fef.property[].name "vespa.rank.firstphase" +rankprofile[].fef.property[].value "nativeRank" +rankprofile[].fef.property[].name "vespa.rank.globalphase" +rankprofile[].fef.property[].value "rankingExpression(globalphase)" +rankprofile[].fef.property[].name "rankingExpression(globalphase).rankingScript" +rankprofile[].fef.property[].value "reduce(rankingExpression(useAttr@6598f1aecaec0a2d.40876484d21a389) + rankingExpression(plusOne@31852fecfab75f29) + rankingExpression(withIndirect@93d0729be0db6c70) + rankingExpression(plusOne@4a2b16f9107d7185), sum)" +rankprofile[].fef.property[].name "vespa.match.feature" +rankprofile[].fef.property[].value "rankingExpression(plusOne@4a2b16f9107d7185)" +rankprofile[].fef.property[].name "vespa.match.feature" +rankprofile[].fef.property[].value "rankingExpression(plusOne@31852fecfab75f29)" +rankprofile[].fef.property[].name "vespa.match.feature" +rankprofile[].fef.property[].value "rankingExpression(withIndirect@93d0729be0db6c70)" +rankprofile[].fef.property[].name "vespa.match.feature" +rankprofile[].fef.property[].value "rankingExpression(useAttr@6598f1aecaec0a2d.40876484d21a389)" +rankprofile[].fef.property[].name "vespa.hidden.matchfeature" +rankprofile[].fef.property[].value "plusOne(2)" +rankprofile[].fef.property[].name "vespa.hidden.matchfeature" +rankprofile[].fef.property[].value "withIndirect(foo1)" +rankprofile[].fef.property[].name "vespa.hidden.matchfeature" +rankprofile[].fef.property[].value "useAttr(t1,42)" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "rankingExpression(plusOne@4a2b16f9107d7185)" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "plusOne(attribute(foo2))" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "rankingExpression(plusOne@31852fecfab75f29)" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "plusOne(2)" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "rankingExpression(withIndirect@93d0729be0db6c70)" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "withIndirect(foo1)" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "rankingExpression(useAttr@6598f1aecaec0a2d.40876484d21a389)" +rankprofile[].fef.property[].name "vespa.feature.rename" +rankprofile[].fef.property[].value "useAttr(t1,42)" +rankprofile[].fef.property[].name "vespa.type.attribute.t1" +rankprofile[].fef.property[].value "tensor(m{},v[3])" |