diff options
-rw-r--r-- | searchsummary/src/vespa/searchsummary/docsummary/geoposdfw.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/geoposdfw.cpp b/searchsummary/src/vespa/searchsummary/docsummary/geoposdfw.cpp index cfc492d50ee..8f627ac1b9a 100644 --- a/searchsummary/src/vespa/searchsummary/docsummary/geoposdfw.cpp +++ b/searchsummary/src/vespa/searchsummary/docsummary/geoposdfw.cpp @@ -64,6 +64,7 @@ GeoPositionDFW::insertField(uint32_t docid, GetDocsumsState * dsState, ResType, const auto& attribute = get_attribute(*dsState); if (attribute.hasMultiValue()) { uint32_t entries = attribute.getValueCount(docid); + if (entries == 0 && _useV8geoPositions) return; Cursor &arr = target.insertArray(); if (attribute.hasWeightedSetType()) { Symbol isym = arr.resolve("item"); |