summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/docsum_matcher.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/docsum_matcher.cpp b/searchcore/src/vespa/searchcore/proton/matching/docsum_matcher.cpp
index 624daaf3cb8..a7a74de35d9 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/docsum_matcher.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/docsum_matcher.cpp
@@ -72,7 +72,7 @@ get_feature_set(const MatchToolsFactory &mtf,
for (uint32_t j = 0; j < featureNames.size(); ++j) {
if (resolver.is_object(j)) {
auto obj = resolver.resolve(j).as_object(docId);
- if (! obj.get().is_double()) {
+ if (! obj.get().type().is_double()) {
vespalib::nbostream buf;
vespalib::eval::EngineOrFactory::get().encode(obj.get(), buf);
f[j].set_data(vespalib::Memory(buf.peek(), buf.size()));