summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-07-09 14:24:17 +0000
committerArne Juul <arnej@verizonmedia.com>2020-07-15 15:39:21 +0000
commit37a48bad66fc204941499981d323ae9e86074ab6 (patch)
tree8b306a5791575f888693d04b243952ba8d1a706c /searchcore
parente32a939c6fc814bda36d2b104546e8c3d5d8e9d4 (diff)
support multiple positions in query
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/queryenvironment.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.h b/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.h
index 575694ae079..e0d7c6aa271 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.h
+++ b/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.h
@@ -71,6 +71,9 @@ public:
// inherited from search::fef::IQueryEnvironment
const search::fef::Location & getLocation() const override;
+ std::vector<const search::fef::Location *> getAllLocations() const override {
+ return _locations;
+ }
// inherited from search::fef::IQueryEnvironment
const search::attribute::IAttributeContext & getAttributeContext() const override;