summaryrefslogtreecommitdiffstats
path: root/config-model/src/test/derived
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2022-05-30 21:39:13 +0200
committerJon Bratseth <bratseth@gmail.com>2022-05-30 21:39:13 +0200
commit9e915d74b000c6896393d60d02f25834eb3fac36 (patch)
tree40846b0ca273bd1feeae22ea4ebf36bdb67ba23a /config-model/src/test/derived
parentc1f6b0c54d8a8fd7b2b0cd880095e268fc97a5db (diff)
Correct syntax
Diffstat (limited to 'config-model/src/test/derived')
-rw-r--r--config-model/src/test/derived/tensor/rank-profiles.cfg4
-rw-r--r--config-model/src/test/derived/tensor/tensor.sd4
2 files changed, 4 insertions, 4 deletions
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<float>(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<float>(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() {