summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@oath.com>2018-02-01 14:55:54 +0000
committerTor Egge <Tor.Egge@oath.com>2018-02-01 15:14:57 +0000
commit7b9dd4b44b8d84f901b2bb496c7d7f7ca01028ba (patch)
treebc49b1db867448ac8766adbd56b4b39a3e913f75 /searchcore
parent53ba441f3939f747159a581c4844ce8382679e34 (diff)
Move FixedBucketSpaces to document module.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/proton_configurer.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/proton_configurer.cpp b/searchcore/src/vespa/searchcore/proton/server/proton_configurer.cpp
index 828cc909ac6..9f2d0ff8593 100644
--- a/searchcore/src/vespa/searchcore/proton/server/proton_configurer.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/proton_configurer.cpp
@@ -7,7 +7,7 @@
#include "i_document_db_config_owner.h"
#include <vespa/vespalib/util/lambdatask.h>
#include <vespa/vespalib/util/threadstackexecutorbase.h>
-#include <vespa/persistence/spi/fixed_bucket_spaces.h>
+#include <vespa/document/bucket/fixed_bucket_spaces.h>
#include <vespa/config-bucketspaces.h>
#include <vespa/vespalib/util/exceptions.h>
#include <vespa/vespalib/stllike/asciistream.h>
@@ -27,14 +27,14 @@ getBucketSpace(const BootstrapConfig &bootstrapConfig, const DocTypeName &name)
if (bucketspaces.enableMultipleBucketSpaces) {
for (const auto &entry : bucketspaces.documenttype) {
if (entry.name == name.getName()) {
- return storage::spi::FixedBucketSpaces::from_string(entry.bucketspace);
+ return document::FixedBucketSpaces::from_string(entry.bucketspace);
}
}
vespalib::asciistream ost;
ost << "Could not map from document type name '" << name.getName() << "' to bucket space name";
throw vespalib::IllegalStateException(ost.str(), VESPA_STRLOC);
}
- return storage::spi::FixedBucketSpaces::default_space();
+ return document::FixedBucketSpaces::default_space();
}
}