aboutsummaryrefslogtreecommitdiffstats
path: root/searchsummary
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-05-19 22:14:02 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-05-19 22:14:02 +0000
commitcb4b1d16bd05c987818f0009168f4ca120a192f3 (patch)
tree10413c148d7fd6f9be46bde7e468d0637d443294 /searchsummary
parent3eceb9c73b15a352c6425cdc0510280c38895dab (diff)
Handle raw type
Diffstat (limited to 'searchsummary')
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/resultconfig.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/resultconfig.cpp b/searchsummary/src/vespa/searchsummary/docsummary/resultconfig.cpp
index f3834ef4a12..ead3a4a2f9d 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/resultconfig.cpp
+++ b/searchsummary/src/vespa/searchsummary/docsummary/resultconfig.cpp
@@ -164,6 +164,8 @@ ResultConfig::ReadConfig(const vespa::config::search::SummaryConfig &cfg, const
rc = resClass->AddConfigEntry(fieldname, RES_STRING);
} else if (strcmp(fieldtype, "data") == 0) {
rc = resClass->AddConfigEntry(fieldname, RES_DATA);
+ } else if (strcmp(fieldtype, "raw") == 0) {
+ rc = resClass->AddConfigEntry(fieldname, RES_DATA);
} else if (strcmp(fieldtype, "longstring") == 0) {
rc = resClass->AddConfigEntry(fieldname, RES_LONG_STRING);
} else if (strcmp(fieldtype, "longdata") == 0) {