summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-07-09 17:32:01 +0000
committerArne Juul <arnej@verizonmedia.com>2020-07-15 15:39:21 +0000
commit0137b1768e6998a90320af260917c6949fb4c77a (patch)
tree8892100eafd5479c8262297847ff3c46da2457b3 /searchcore
parent136fd0405a7bee92a9ea3277a80618618094b425 (diff)
avoid getLocation for now
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/queryenvironment.cpp10
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/queryenvironment.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.cpp b/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.cpp
index fe0f6aaff91..a6a64f183ec 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.cpp
@@ -44,11 +44,11 @@ QueryEnvironment::getTerm(uint32_t idx) const
return _terms[idx];
}
-const search::fef::Location &
-QueryEnvironment::getLocation() const
-{
- return *_locations[0];
-}
+// const search::fef::Location &
+// QueryEnvironment::getLocation() const
+// {
+// return *_locations[0];
+// }
const IAttributeContext &
QueryEnvironment::getAttributeContext() const
diff --git a/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.h b/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.h
index e0d7c6aa271..20a4085663a 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.h
+++ b/searchcore/src/vespa/searchcore/proton/matching/queryenvironment.h
@@ -70,7 +70,7 @@ public:
const search::fef::ITermData *getTerm(uint32_t idx) const override;
// inherited from search::fef::IQueryEnvironment
- const search::fef::Location & getLocation() const override;
+ // const search::fef::Location & getLocation() const override;
std::vector<const search::fef::Location *> getAllLocations() const override {
return _locations;
}