diff options
author | Geir Storli <geirst@yahooinc.com> | 2023-04-28 09:31:47 +0000 |
---|---|---|
committer | Geir Storli <geirst@yahooinc.com> | 2023-04-28 09:31:47 +0000 |
commit | 07f6d5be822832bb5c4bd31e0bdf23d0a8b5ac99 (patch) | |
tree | b31f85524b26fce23d539ba1d1ff27a3e6bd011c /streamingvisitors/src/tests/searchvisitor/cfg/test.sd | |
parent | 9c04252f9c8573bdbb787b5e3a0f671487eb412e (diff) |
Test match features returned in streaming search result.
Diffstat (limited to 'streamingvisitors/src/tests/searchvisitor/cfg/test.sd')
-rw-r--r-- | streamingvisitors/src/tests/searchvisitor/cfg/test.sd | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/streamingvisitors/src/tests/searchvisitor/cfg/test.sd b/streamingvisitors/src/tests/searchvisitor/cfg/test.sd index ad998aa91f6..ba2be3f1d93 100644 --- a/streamingvisitors/src/tests/searchvisitor/cfg/test.sd +++ b/streamingvisitors/src/tests/searchvisitor/cfg/test.sd @@ -4,13 +4,16 @@ schema test { indexing: attribute | summary } } - document-summary mysum { - summary id type int {} - } - rank-profile myrank { + rank-profile default { first-phase { expression: attribute(id) + 10 } } + rank-profile match_features inherits default { + function myfunc() { + expression: attribute(id) + 20 + } + match-features: attribute(id) myfunc() + } } |