summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/index/indexmanager_test.cpp
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2017-03-17 11:13:24 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2017-03-17 11:13:24 +0000
commit4e6777f02b47a9da44ea7b86cd58cb88fb93f253 (patch)
treeb91b958db826f42b1eaeb858225fceaf8880fba2 /searchcore/src/tests/proton/index/indexmanager_test.cpp
parentb09d7deb64e5a723c5a052dd2b1db225f632405f (diff)
Remove union based fusion schema. It was used to keep data for removed
indexed fields in old documents intact until history was wiped, in case the user wanted to revert the config change.
Diffstat (limited to 'searchcore/src/tests/proton/index/indexmanager_test.cpp')
-rw-r--r--searchcore/src/tests/proton/index/indexmanager_test.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/searchcore/src/tests/proton/index/indexmanager_test.cpp b/searchcore/src/tests/proton/index/indexmanager_test.cpp
index ca53364f1b5..27a2706aae8 100644
--- a/searchcore/src/tests/proton/index/indexmanager_test.cpp
+++ b/searchcore/src/tests/proton/index/indexmanager_test.cpp
@@ -174,7 +174,7 @@ Document::UP Fixture::addDocument(uint32_t id) {
void Fixture::resetIndexManager() {
_index_manager.reset(0);
_index_manager.reset(
- new IndexManager(index_dir, searchcorespi::index::WarmupConfig(), 2, 0, getSchema(), getSchema(),
+ new IndexManager(index_dir, searchcorespi::index::WarmupConfig(), 2, 0, getSchema(),
_reconfigurer, _writeService, _writeService.getMasterExecutor(),
TuneFileIndexManager(), TuneFileAttributes(),
_fileHeaderContext));
@@ -694,8 +694,7 @@ TEST_F("require that wipeHistory updates schema on disk", Fixture) {
Schema empty_schema;
f.addDocument(docid);
f.flushIndexManager();
- f.runAsMaster([&]() { f._index_manager->setSchema(empty_schema,
- empty_schema); });
+ f.runAsMaster([&]() { f._index_manager->setSchema(empty_schema); });
f.addDocument(docid);
f.flushIndexManager();