diff options
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp b/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp index 77852dcc918..3ca8a4cff49 100644 --- a/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp @@ -203,16 +203,16 @@ SearchableDocSubDB::initViews(const DocumentDBConfig &configSnapshot, const Sess const IIndexManager::SP &indexMgr = getIndexManager(); _constantValueRepo.reconfigure(configSnapshot.getRankingConstants()); Matchers::SP matchers(_configurer.createMatchers(schema, configSnapshot.getRankProfilesConfig()).release()); - auto matchView = std::make_shared<MatchView>(matchers, indexMgr->getSearchable(), attrMgr, + auto matchView = std::make_shared<MatchView>(std::move(matchers), indexMgr->getSearchable(), attrMgr, sessionManager, _metaStoreCtx, _docIdLimit); - _rSearchView.set(std::make_shared<SearchView>( + _rSearchView.set(SearchView::create( getSummaryManager()->createSummarySetup( configSnapshot.getSummaryConfig(), configSnapshot.getSummarymapConfig(), configSnapshot.getJuniperrcConfig(), configSnapshot.getDocumentTypeRepoSP(), - matchView->getAttributeManager()), - matchView)); + attrMgr), + std::move(matchView))); auto attrWriter = std::make_shared<AttributeWriter>(attrMgr); { |