summaryrefslogtreecommitdiffstats
path: root/searchcore/src
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-04-24 15:26:22 +0200
committerGitHub <noreply@github.com>2017-04-24 15:26:22 +0200
commit5a1b72a923e086e6df31c9eda32791df75f50c97 (patch)
treee0c55d72fddb26923b043a8fed26274991e3035d /searchcore/src
parent6bc31f5ea71437ec198519329a39a23b87322597 (diff)
parent9e383f5102e1659592b0c8b5ff3d06012e760b85 (diff)
Merge pull request #2244 from yahoo/balder/optimize-streaming-1
Balder/optimize streaming 1
Diffstat (limited to 'searchcore/src')
-rw-r--r--searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp b/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp
index b19792bef61..01727800a44 100644
--- a/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp
+++ b/searchcore/src/vespa/searchcore/proton/attribute/attribute_writer.cpp
@@ -154,8 +154,7 @@ AttributeWriter::internalPut(SerialNum serialNum, const Document &doc, DocumentI
const FieldPath *const fieldPath(_fieldPaths[fieldId].get());
FieldValue::UP fv;
if (fieldPath != NULL) {
- fv = doc.getNestedFieldValue(fieldPath->begin(),
- fieldPath->end());
+ fv = doc.getNestedFieldValue(fieldPath->getFullRange());
}
_attributeFieldWriter.execute(attr.getName(),