aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@oath.com>2021-05-12 10:12:27 +0000
committerHåvard Pettersen <havardpe@oath.com>2021-05-20 10:19:26 +0000
commita6babd7ec4b48975fc5d6f2994b91bf3bfd2052c (patch)
treefc7f9baeaa4bc246d748e43fc51c3d5e6d108869 /streamingvisitors
parenteeb4067cc6ab6bbd0cc03b4a9ef9eaad27677cb1 (diff)
external ranking expressions
loaded from potentially compressed files
Diffstat (limited to 'streamingvisitors')
-rw-r--r--streamingvisitors/src/vespa/searchvisitor/indexenvironment.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h b/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h
index dc7be36c290..7bc706f21ce 100644
--- a/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h
+++ b/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h
@@ -73,6 +73,10 @@ public:
return vespalib::eval::ConstantValue::UP();
}
+ vespalib::string getRankingExpression(const vespalib::string &) const override {
+ return {};
+ }
+
const search::fef::OnnxModel *getOnnxModel(const vespalib::string &) const override {
return nullptr;
}