diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-03-07 11:35:34 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-03-07 11:35:34 +0000 |
commit | c84242e30dd34656fe79e5a6c539d3e5fcc3fd38 (patch) | |
tree | 523300a008f6a280571aca2935e2a682e76d6737 /searchcorespi | |
parent | a4cd8a591a4050b7bb5907919b597f3ea999d883 (diff) |
Reduce visibility of document::Document
Diffstat (limited to 'searchcorespi')
-rw-r--r-- | searchcorespi/src/vespa/searchcorespi/index/imemoryindex.h | 3 | ||||
-rw-r--r-- | searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/searchcorespi/src/vespa/searchcorespi/index/imemoryindex.h b/searchcorespi/src/vespa/searchcorespi/index/imemoryindex.h index 16feeb2ce24..67d6e034080 100644 --- a/searchcorespi/src/vespa/searchcorespi/index/imemoryindex.h +++ b/searchcorespi/src/vespa/searchcorespi/index/imemoryindex.h @@ -1,7 +1,6 @@ // Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once -#include <vespa/document/fieldvalue/document.h> #include <vespa/searchcommon/common/schema.h> #include <vespa/searchcorespi/index/indexsearchable.h> #include <vespa/searchlib/common/serialnum.h> @@ -9,7 +8,7 @@ #include <vespa/vespalib/util/memoryusage.h> namespace vespalib { class IDestructorCallback; } - +namespace document { class Document; } namespace searchcorespi::index { /** diff --git a/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp b/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp index 1153a09d09f..d8bbf435479 100644 --- a/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp +++ b/searchcorespi/src/vespa/searchcorespi/index/indexmaintainer.cpp @@ -9,6 +9,7 @@ #include "indexreadutilities.h" #include "indexwriteutilities.h" #include "index_disk_dir.h" +#include <vespa/document/fieldvalue//document.h> #include <vespa/searchcorespi/flush/lambdaflushtask.h> #include <vespa/searchlib/common/i_flush_token.h> #include <vespa/searchlib/index/schemautil.h> |