summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-01-30 20:38:38 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-01-30 20:38:38 +0100
commit7a2e32d247e25aa4fdc38185ea91dd41eed92d86 (patch)
tree4442cb3e9e0a6bd7579707c6981f1dc312868b47 /searchcore
parent2194cb59bfdf4f18630f3173b38301429539746e (diff)
Version is no longer part of the method signature.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/docsummary/fieldcache.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/docsummary/fieldcache.cpp b/searchcore/src/vespa/searchcore/proton/docsummary/fieldcache.cpp
index 15aacdd4589..a810c02c660 100644
--- a/searchcore/src/vespa/searchcore/proton/docsummary/fieldcache.cpp
+++ b/searchcore/src/vespa/searchcore/proton/docsummary/fieldcache.cpp
@@ -1,10 +1,9 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-#include <vespa/fastos/fastos.h>
-#include <vespa/log/log.h>
-LOG_SETUP(".proton.docsummary.fieldcache");
#include "fieldcache.h"
#include <vespa/document/fieldvalue/document.h>
+#include <vespa/log/log.h>
+LOG_SETUP(".proton.docsummary.fieldcache");
using namespace document;
using namespace search::docsummary;
@@ -27,8 +26,7 @@ FieldCache::FieldCache(const ResultClass &resClass,
if (docType.hasField(fieldName)) {
const Field &field = docType.getField(fieldName);
LOG(debug, "Caching Field instance for field '%s': %s.%u",
- fieldName.c_str(), field.getName().c_str(),
- field.getId(Document::getNewestSerializationVersion()));
+ fieldName.c_str(), field.getName().c_str(), field.getId());
_cache.push_back(Field::CSP(new Field(field)));
} else {
_cache.push_back(Field::CSP());