diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2019-10-03 13:59:19 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2019-10-03 13:59:19 +0200 |
commit | a8add40b3bc5f35e95579f436c7b3ffa47314264 (patch) | |
tree | 7b7b9d16717d6f0b2254eee21ef4c13d8881d1c3 | |
parent | 86f1ba0c9e34978196ebbb8247dcea18a1d6a014 (diff) |
Add wiring of fill_matching_elements() to matcher.
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/docsummary/docsumcontext.cpp | 5 |
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>(); } |