summaryrefslogtreecommitdiffstats
path: root/searchcore/src
diff options
context:
space:
mode:
authorGeir Storli <geirst@verizonmedia.com>2019-09-27 14:42:06 +0200
committerGitHub <noreply@github.com>2019-09-27 14:42:06 +0200
commitcb4083e9c6cda6cc8e82208ec7f4d8b1fc7cfcfe (patch)
tree374e7f06343dfaf5ad0b37ce04f18904fc91decb /searchcore/src
parent780dcd882cc85b24a29e7b6cd29bb58d20242a07 (diff)
parented7f11621224c1226e7d9b0f607b7396556f04b3 (diff)
Merge pull request #10794 from vespa-engine/toregge/add-filtering-support-to-attribute-combiner
Add filtering support to attribute combiner dynamic field writer
Diffstat (limited to 'searchcore/src')
-rw-r--r--searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp7
-rw-r--r--searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp b/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp
index edb91787214..c65257e7f6a 100644
--- a/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp
+++ b/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp
@@ -4,6 +4,7 @@
#include <vespa/searchlib/queryeval/begin_and_end_id.h>
#include <vespa/searchlib/attribute/iattributemanager.h>
#include <vespa/searchlib/common/location.h>
+#include <vespa/searchlib/common/matching_elements.h>
#include <vespa/searchlib/common/transport.h>
#include <vespa/vespalib/data/slime/slime.h>
#include <vespa/vespalib/util/stringfmt.h>
@@ -213,4 +214,10 @@ DocsumContext::ParseLocation(search::docsummary::GetDocsumsState *state)
state->_parsedLocation.reset(getLocation(_request.location, _attrMgr));
}
+std::unique_ptr<MatchingElements>
+DocsumContext::fill_matching_elements()
+{
+ return std::make_unique<MatchingElements>();
+}
+
} // namespace proton
diff --git a/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.h b/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.h
index 45f3ca8e44f..30b5ef16cb1 100644
--- a/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.h
+++ b/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.h
@@ -48,6 +48,7 @@ public:
void FillSummaryFeatures(search::docsummary::GetDocsumsState * state, search::docsummary::IDocsumEnvironment * env) override;
void FillRankFeatures(search::docsummary::GetDocsumsState * state, search::docsummary::IDocsumEnvironment * env) override;
void ParseLocation(search::docsummary::GetDocsumsState * state) override;
+ std::unique_ptr<search::MatchingElements> fill_matching_elements() override;
};
} // namespace proton