summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/server/memoryconfigstore_test.cpp
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahoo-inc.com>2016-08-26 15:18:27 +0200
committerArne H Juul <arnej@yahoo-inc.com>2016-08-31 10:37:15 +0200
commita20eb6eab5fe27128055f0f88166eec05e0413ac (patch)
treec958c9e3df840b07480ddfad7bf5138f68eb1035 /searchcore/src/tests/proton/server/memoryconfigstore_test.cpp
parentbca73f4f4e56d0a016b99b3917a075823c193c57 (diff)
subscribe to ranking constants config
* move the .def file for filedistributorrpc to fileacquirerer, and compile a minimal C++ library from it that can be used by both searchcore and file distribution * proton now subscribes to filedistributorrpc as a bootstrap config * and subscribes to ranking-constants as part of the documentdb config * when loading a config snapshot, make an empty ranking-constants.cfg if it did not already exist
Diffstat (limited to 'searchcore/src/tests/proton/server/memoryconfigstore_test.cpp')
-rw-r--r--searchcore/src/tests/proton/server/memoryconfigstore_test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/server/memoryconfigstore_test.cpp b/searchcore/src/tests/proton/server/memoryconfigstore_test.cpp
index 301633404bc..f1cbd012ab5 100644
--- a/searchcore/src/tests/proton/server/memoryconfigstore_test.cpp
+++ b/searchcore/src/tests/proton/server/memoryconfigstore_test.cpp
@@ -24,6 +24,7 @@ getConfig(int64_t generation, const Schema::SP &schema)
new DocumentDBConfig(
generation,
DocumentDBConfig::RankProfilesConfigSP(),
+ DocumentDBConfig::RankingConstantsConfigSP(),
DocumentDBConfig::IndexschemaConfigSP(),
DocumentDBConfig::AttributesConfigSP(),
DocumentDBConfig::SummaryConfigSP(),