From 9e915d74b000c6896393d60d02f25834eb3fac36 Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Mon, 30 May 2022 21:39:13 +0200 Subject: Correct syntax --- config-model/src/test/derived/tensor/rank-profiles.cfg | 4 ++-- config-model/src/test/derived/tensor/tensor.sd | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'config-model/src/test/derived') diff --git a/config-model/src/test/derived/tensor/rank-profiles.cfg b/config-model/src/test/derived/tensor/rank-profiles.cfg index ac66ccf6938..1ec3d67cb47 100644 --- a/config-model/src/test/derived/tensor/rank-profiles.cfg +++ b/config-model/src/test/derived/tensor/rank-profiles.cfg @@ -137,7 +137,7 @@ rankprofile[].fef.property[].value "3" rankprofile[].fef.property[].name "vespa.rank.firstphase" rankprofile[].fef.property[].value "rankingExpression(firstphase)" rankprofile[].fef.property[].name "rankingExpression(firstphase).rankingScript" -rankprofile[].fef.property[].value "reduce(tensor(d0[1])((attribute{x:(rankingExpression(functionNotLabel))})), sum)" +rankprofile[].fef.property[].value "reduce(tensor(d0[1])((attribute(f3){x:(rankingExpression(functionNotLabel))})), sum)" rankprofile[].fef.property[].name "vespa.type.attribute.f2" rankprofile[].fef.property[].value "tensor(x[2],y[1])" rankprofile[].fef.property[].name "vespa.type.attribute.f3" @@ -152,7 +152,7 @@ rankprofile[].fef.property[].value "3" rankprofile[].fef.property[].name "vespa.rank.firstphase" rankprofile[].fef.property[].value "rankingExpression(firstphase)" rankprofile[].fef.property[].name "rankingExpression(firstphase).rankingScript" -rankprofile[].fef.property[].value "reduce(tensor(shadow[1])((attribute{x:(shadow + rankingExpression(shadow))})), sum)" +rankprofile[].fef.property[].value "reduce(tensor(shadow[1])((attribute(f3){x:(shadow + rankingExpression(shadow))})), sum)" rankprofile[].fef.property[].name "vespa.type.attribute.f2" rankprofile[].fef.property[].value "tensor(x[2],y[1])" rankprofile[].fef.property[].name "vespa.type.attribute.f3" diff --git a/config-model/src/test/derived/tensor/tensor.sd b/config-model/src/test/derived/tensor/tensor.sd index 89c00ec80cb..a0657bae2e4 100644 --- a/config-model/src/test/derived/tensor/tensor.sd +++ b/config-model/src/test/derived/tensor/tensor.sd @@ -97,7 +97,7 @@ schema tensor { rank-profile profile8 { first-phase { - expression: sum(tensor(d0[1])(attribute(f2){x:functionNotLabel()})) + expression: sum(tensor(d0[1])(attribute(f3){x:functionNotLabel()})) } function functionNotLabel() { @@ -110,7 +110,7 @@ schema tensor { # shadow refers to the generate index and shadow() to the function first-phase { - expression: sum(tensor(shadow[1])(attribute{x: shadow + shadow() })) + expression: sum(tensor(shadow[1])(attribute(f3){x: shadow + shadow() })) } function shadow() { -- cgit v1.2.3