diff options
author | Jon Bratseth <bratseth@oath.com> | 2018-09-17 13:01:55 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@oath.com> | 2018-09-17 13:01:55 +0200 |
commit | 28c446a1bd9168ced3e7056599bb2d833824533b (patch) | |
tree | a3297634a7699f93568847807daf75610979b7aa /config-model/src/test/examples/simple.sd | |
parent | 769aec13c58050c6e4edffcbb0f8bfc82d12cb30 (diff) |
support 'function' in addition to 'macro' in rank profiles
Diffstat (limited to 'config-model/src/test/examples/simple.sd')
-rw-r--r-- | config-model/src/test/examples/simple.sd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/test/examples/simple.sd b/config-model/src/test/examples/simple.sd index 96b0fa98098..0435ea439df 100644 --- a/config-model/src/test/examples/simple.sd +++ b/config-model/src/test/examples/simple.sd @@ -121,7 +121,7 @@ search simple { second-phase { rerank-count: 99 } - macro openTicket() { + function openTicket() { expression: if(attribute(status) == "accepted",1, if(attribute(status) == "new",1,if(attribute(status) == "reopened",1,0))) } } |