summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2019-10-03 13:59:19 +0200
committerTor Egge <Tor.Egge@broadpark.no>2019-10-03 13:59:19 +0200
commita8add40b3bc5f35e95579f436c7b3ffa47314264 (patch)
tree7b7b9d16717d6f0b2254eee21ef4c13d8881d1c3 /searchcore
parent86f1ba0c9e34978196ebbb8247dcea18a1d6a014 (diff)
Add wiring of fill_matching_elements() to matcher.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp b/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp
index 9e36e19f5be..cc6b0d952a3 100644
--- a/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp
+++ b/searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp
@@ -213,8 +213,11 @@ DocsumContext::ParseLocation(search::docsummary::GetDocsumsState *state)
}
std::unique_ptr<MatchingElements>
-DocsumContext::fill_matching_elements(const StructFieldMapper &)
+DocsumContext::fill_matching_elements(const StructFieldMapper &struct_field_mapper)
{
+ if (_matcher) {
+ return _matcher->get_matching_elements(_request, _searchCtx, _attrCtx, _sessionMgr, struct_field_mapper);
+ }
return std::make_unique<MatchingElements>();
}