summaryrefslogtreecommitdiffstats
path: root/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2023-04-22 11:38:49 +0200
committerGitHub <noreply@github.com>2023-04-22 11:38:49 +0200
commite2122d6ad5b018ec11dd9eb35c39a057aa0ed540 (patch)
tree906c1b9e380e55fa5a8b82e1db945f48765e6275 /streamingvisitors/src/vespa/searchvisitor/indexenvironment.h
parent864778ea5f78cedf0c09282ab6d200889771f633 (diff)
parente7670d3dd2790574083195068c637d130386c5b6 (diff)
Merge pull request #26816 from vespa-engine/geirst/nearest-neighbor-in-streaming-searchv8.156.36
Integrate nearest neighbor field searcher in streaming search.
Diffstat (limited to 'streamingvisitors/src/vespa/searchvisitor/indexenvironment.h')
-rw-r--r--streamingvisitors/src/vespa/searchvisitor/indexenvironment.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h b/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h
index af037d87076..ef679cacdf0 100644
--- a/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h
+++ b/streamingvisitors/src/vespa/searchvisitor/indexenvironment.h
@@ -83,7 +83,9 @@ public:
return nullptr;
}
- bool addField(const vespalib::string & name, bool isAttribute);
+ bool addField(const vespalib::string& name,
+ bool isAttribute,
+ search::fef::FieldInfo::DataType data_type);
search::fef::Properties & getProperties() { return _properties; }