aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2016-11-24 01:37:31 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2016-11-24 19:16:28 +0000
commit81620e465d7c370b6989abaf23872634f1a06ad3 (patch)
treeef436d353bc4a292f9a57ae63b2439a48db56539 /searchcore
parent347dee4b2c6b14485af2ce8e2e6d5385fc14d605 (diff)
Break the document include chain at the attribute vector.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/common/cachedselect.h7
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/requestcontext.cpp1
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/documentretriever.cpp1
3 files changed, 7 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/common/cachedselect.h b/searchcore/src/vespa/searchcore/proton/common/cachedselect.h
index 780d0e31f68..37534038a04 100644
--- a/searchcore/src/vespa/searchcore/proton/common/cachedselect.h
+++ b/searchcore/src/vespa/searchcore/proton/common/cachedselect.h
@@ -7,8 +7,11 @@
#include <vespa/searchlib/attribute/iattributemanager.h>
#include <vespa/document/select/resultset.h>
-namespace proton
-{
+namespace document {
+ class DocumentTypeRepo;
+}
+
+namespace proton {
class AttributeManager;
diff --git a/searchcore/src/vespa/searchcore/proton/matching/requestcontext.cpp b/searchcore/src/vespa/searchcore/proton/matching/requestcontext.cpp
index e2ad9d94aa1..e3d1e2df14e 100644
--- a/searchcore/src/vespa/searchcore/proton/matching/requestcontext.cpp
+++ b/searchcore/src/vespa/searchcore/proton/matching/requestcontext.cpp
@@ -1,5 +1,6 @@
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "requestcontext.h"
+#include <vespa/searchlib/attribute/attributevector.h>
namespace proton {
diff --git a/searchcore/src/vespa/searchcore/proton/server/documentretriever.cpp b/searchcore/src/vespa/searchcore/proton/server/documentretriever.cpp
index 2039d2c6ad6..f511750a32e 100644
--- a/searchcore/src/vespa/searchcore/proton/server/documentretriever.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/documentretriever.cpp
@@ -22,6 +22,7 @@ using document::DocumentType;
using document::DocumentTypeRepo;
using document::PositionDataType;
using document::StructFieldValue;
+using document::FieldValue;
using search::AttributeGuard;
using search::DocumentIdT;
using search::IAttributeManager;