aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/test/examples/rankpropvars.sd
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2018-02-06 22:20:01 +0100
committerGitHub <noreply@github.com>2018-02-06 22:20:01 +0100
commitfb124132798c81a7ccc1aa432a5effae3c5869b3 (patch)
tree368cada4a98a52f78abf2ff1f23b48f7f85b93a2 /config-model/src/test/examples/rankpropvars.sd
parentc2797cb1f2745a1fee89610e6eb7a4c1d3215c18 (diff)
parent4062af167c5f1415d7f3f2eb0792447dafbf5096 (diff)
Merge pull request #4937 from vespa-engine/revert-4935-bratseth/typecheck-all
Revert "Bratseth/typecheck all"
Diffstat (limited to 'config-model/src/test/examples/rankpropvars.sd')
-rw-r--r--config-model/src/test/examples/rankpropvars.sd8
1 files changed, 4 insertions, 4 deletions
diff --git a/config-model/src/test/examples/rankpropvars.sd b/config-model/src/test/examples/rankpropvars.sd
index 28959edbc09..40f9e73f35a 100644
--- a/config-model/src/test/examples/rankpropvars.sd
+++ b/config-model/src/test/examples/rankpropvars.sd
@@ -18,8 +18,8 @@ first-phase {
second-phase {
expression {
if (attribute(artist) == query(testvar1),
- 0.0 * fieldMatch(title) + 0.0 * attribute(Popularity) + 0.0 * fieldMatch(artist),
- 0.0 * attribute(Popularity) + 0.0 * fieldMatch(artist) + 0.0 * fieldMatch(title))
+ 0.0 * fieldMatch(title) + 0.0 * attribute(popularity) + 0.0 * fieldMatch(artist),
+ 0.0 * attribute(popularity) + 0.0 * fieldMatch(artist) + 0.0 * fieldMatch(title))
}
}
@@ -42,8 +42,8 @@ first-phase {
second-phase {
expression {
if (attribute(artist) == query(testvar1),
- 0.0 * fieldMatch(title) + 0.0 * attribute(Popularity) + 0.0 * fieldMatch(artist),
- 0.0 * attribute(Popularity) + 0.0 * fieldMatch(artist) + 0.0 * fieldMatch(title))
+ 0.0 * fieldMatch(title) + 0.0 * attribute(popularity) + 0.0 * fieldMatch(artist),
+ 0.0 * attribute(popularity) + 0.0 * fieldMatch(artist) + 0.0 * fieldMatch(title))
}
}
}