summaryrefslogtreecommitdiffstats
path: root/searchsummary
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2024-02-19 21:24:25 +0100
committerGitHub <noreply@github.com>2024-02-19 21:24:25 +0100
commit91525f0e94bc150ef9e9879699c158ff93ddb628 (patch)
treee7c141380834a210337d96b75361a0c5eae3bf3b /searchsummary
parent8f72e63785af529ea5877e7a7bbcc683cb9a92da (diff)
parent7059a097c51a313ff9a7ef7e16894ce7832e0edc (diff)
Merge pull request #30316 from vespa-engine/balder/use-highlight-termsv8.307.19
Balder/use highlight terms
Diffstat (limited to 'searchsummary')
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/getdocsumargs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/getdocsumargs.h b/searchsummary/src/vespa/searchsummary/docsummary/getdocsumargs.h
index 0051af29c21..6e0d610da97 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/getdocsumargs.h
+++ b/searchsummary/src/vespa/searchsummary/docsummary/getdocsumargs.h
@@ -46,6 +46,7 @@ public:
bool dumpFeatures() const { return _dumpFeatures; }
const fef::Properties &highlightTerms() const { return _highlightTerms; }
+ void highlightTerms(fef::Properties & terms) { _highlightTerms = terms; }
void set_fields(const FieldSet& fields_in) { _fields = fields_in; }
const FieldSet& get_fields() const { return _fields; }
bool need_field(vespalib::stringref field) const;