aboutsummaryrefslogtreecommitdiffstats
path: root/streamingvisitors
diff options
context:
space:
mode:
Diffstat (limited to 'streamingvisitors')
-rw-r--r--streamingvisitors/src/vespa/searchvisitor/indexenvironment.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h b/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h
index 3bbfb0b23f9..dc7be36c290 100644
--- a/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h
+++ b/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h
@@ -73,8 +73,8 @@ public:
return vespalib::eval::ConstantValue::UP();
}
- std::optional<vespalib::string> getOnnxModelFullPath(const vespalib::string &) const override {
- return std::nullopt;
+ const search::fef::OnnxModel *getOnnxModel(const vespalib::string &) const override {
+ return nullptr;
}
bool addField(const vespalib::string & name, bool isAttribute);