diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-12-08 23:55:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-08 23:55:21 +0100 |
commit | 0f15b405cad738460a8126bf9ef689ec3edfd094 (patch) | |
tree | ca54173403ceb088b109649ee899f919411b48cf /searchcore/src/vespa/searchcore/proton/server/matchview.h | |
parent | c08e5c59f4162ee7ec1c8038e0e884486b8e8a62 (diff) | |
parent | e4c5580f64be5934d6b7690efc719d542c5be526 (diff) |
Merge pull request #25178 from vespa-engine/balder/provide-sessionmanager-via-idocumentsubdbownerv8.97.26
Wire SessionManager via IDocumentSubDBOwner
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/matchview.h')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/matchview.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/matchview.h b/searchcore/src/vespa/searchcore/proton/server/matchview.h index f7bf0abff39..603d929b407 100644 --- a/searchcore/src/vespa/searchcore/proton/server/matchview.h +++ b/searchcore/src/vespa/searchcore/proton/server/matchview.h @@ -18,11 +18,11 @@ namespace matching { } class MatchView { - using SessionManagerSP = std::shared_ptr<matching::SessionManager>; + using SessionManager = matching::SessionManager; Matchers::SP _matchers; searchcorespi::IndexSearchable::SP _indexSearchable; IAttributeManager::SP _attrMgr; - SessionManagerSP _sessionMgr; + SessionManager & _sessionMgr; IDocumentMetaStoreContext::SP _metaStore; DocIdLimit &_docIdLimit; @@ -38,7 +38,7 @@ public: MatchView(Matchers::SP matchers, searchcorespi::IndexSearchable::SP indexSearchable, IAttributeManager::SP attrMgr, - SessionManagerSP sessionMgr, + SessionManager & sessionMgr, IDocumentMetaStoreContext::SP metaStore, DocIdLimit &docIdLimit); ~MatchView(); @@ -46,7 +46,7 @@ public: const Matchers::SP & getMatchers() const { return _matchers; } const searchcorespi::IndexSearchable::SP & getIndexSearchable() const { return _indexSearchable; } const IAttributeManager::SP & getAttributeManager() const { return _attrMgr; } - const SessionManagerSP & getSessionManager() const { return _sessionMgr; } + SessionManager & getSessionManager() const { return _sessionMgr; } const IDocumentMetaStoreContext::SP & getDocumentMetaStore() const { return _metaStore; } DocIdLimit & getDocIdLimit() const { return _docIdLimit; } |