diff options
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/searchview.h')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/searchview.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/searchview.h b/searchcore/src/vespa/searchcore/proton/server/searchview.h index c8174c0a9a6..8c9f6cffa94 100644 --- a/searchcore/src/vespa/searchcore/proton/server/searchview.h +++ b/searchcore/src/vespa/searchcore/proton/server/searchview.h @@ -11,7 +11,7 @@ namespace proton { class SearchView : public ISearchHandler, public std::enable_shared_from_this<SearchView> { public: - using SessionManagerSP = std::shared_ptr<matching::SessionManager>; + using SessionManager = matching::SessionManager; using IndexSearchable = searchcorespi::IndexSearchable; using InternalDocsumReply = std::pair<std::unique_ptr<DocsumReply>, bool>; typedef std::shared_ptr<SearchView> SP; @@ -28,7 +28,7 @@ public: const Matchers::SP & getMatchers() const { return _matchView->getMatchers(); } const IndexSearchable::SP & getIndexSearchable() const { return _matchView->getIndexSearchable(); } const IAttributeManager::SP & getAttributeManager() const { return _matchView->getAttributeManager(); } - const SessionManagerSP & getSessionManager() const { return _matchView->getSessionManager(); } + SessionManager & getSessionManager() const { return _matchView->getSessionManager(); } const IDocumentMetaStoreContext::SP & getDocumentMetaStore() const { return _matchView->getDocumentMetaStore(); } DocIdLimit &getDocIdLimit() const { return _matchView->getDocIdLimit(); } matching::MatchingStats getMatcherStats(const vespalib::string &rankProfile) const { return _matchView->getMatcherStats(rankProfile); } |