Add wiring of fill_matching_elements() to matcher.
@@ -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>();
}
