diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-01-27 16:49:45 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-01-27 16:49:45 +0100 |
commit | 7a24043b2ac730f4c54e2cdb502b0020e584c0b8 (patch) | |
tree | e8b94a3c02dcbd3077cb54ba6a03d10501f44b6a /searchcore | |
parent | 138d62a365e98ae753f58df2f3c51ddad01ce104 (diff) |
Propagate reason and sonn-active docs in fdispatch
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.cpp | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.cpp b/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.cpp index 317e357d96a..94f9240e83f 100644 --- a/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.cpp +++ b/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.cpp @@ -1,12 +1,6 @@ // Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. -#include <vespa/fastos/fastos.h> -#include <vespa/log/log.h> -LOG_SETUP(".fdispatch.searchadapter"); #include "searchadapter.h" -#include <vespa/searchlib/common/packets.h> -#include <vespa/searchlib/fef/queryproperties.h> -#include <vespa/searchlib/parsequery/simplequerystack.h> #include <vespa/searchcore/fdispatch/search/datasetcollection.h> #include <vespa/searchcore/fdispatch/search/dataset_base.h> #include <vespa/searchcore/fdispatch/search/nodemanager.h> @@ -60,6 +54,8 @@ SearchAdapter::createReply() } r.coverage = SearchReply::Coverage(_searchInfo->_activeDocs, _searchInfo->_coverageDocs); + r.coverage.setSoonActive(_searchInfo->_soonActiveDocs); + r.coverage.setDegradeReason(_searchInfo->_degradeReason); FastS_hitresult *hitbuf = _queryResult->_hitbuf; r.hits.resize(hitcnt); |