diff options
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/server/searchview.cpp')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/searchview.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/searchview.cpp b/searchcore/src/vespa/searchcore/proton/server/searchview.cpp index a17415db474..7a909bbebd8 100644 --- a/searchcore/src/vespa/searchcore/proton/server/searchview.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/searchview.cpp @@ -34,7 +34,6 @@ convertGidsToLids(const DocsumRequest & request, const search::IDocumentMetaStore &metaStore, uint32_t docIdLimit) { - document::GlobalId empty; uint32_t lid = 0; for (size_t i = 0; i < request.hits.size(); ++i) { const DocsumRequest::Hit & h = request.hits[i]; @@ -128,7 +127,7 @@ SearchView::getDocsumsInternal(const DocsumRequest & req) MatchContext::UP mctx = _matchView->createContext(); auto ctx = std::make_unique<DocsumContext>(req, _summarySetup->getDocsumWriter(), *store, _matchView->getMatcher(req.ranking), mctx->getSearchContext(), mctx->getAttributeContext(), - *_summarySetup->getAttributeManager(), *getSessionManager()); + *_summarySetup->getAttributeManager(), getSessionManager()); SearchView::InternalDocsumReply reply(ctx->getDocsums(), true); uint64_t endGeneration = readGuard->get().getCurrentGeneration(); if (startGeneration != endGeneration) { |