Skip to content

Commit

Permalink
Merge pull request #30353 from vespa-engine/toregge/propagate-omit-su…
Browse files Browse the repository at this point in the history
…mmary-features-from-summary-result-class-to-docsum-state-in-streaming-mode

Propagate omit summary features from summary result class to
  • Loading branch information
baldersheim authored Feb 20, 2024
2 parents 69980e4 + e77f854 commit a225f9b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ SearchVisitor::SummaryGenerator::get_streaming_docsums_state(vespalib::stringref
auto rci = _docsumWriter->resolveClassInfo(summary_class, fields);
auto state = std::make_unique<StreamingDocsumsState>(_callback, rci);
auto &ds = state->get_state();
ds._omit_summary_features = (rci.res_class == nullptr) || rci.res_class->omit_summary_features();
ds._args.setResultClassName(summary_class);
ds._args.set_fields(fields);
ds.query_normalization(&_query_normalization);
Expand Down

0 comments on commit a225f9b

Please sign in to comment.