diff options
3 files changed, 3 insertions, 9 deletions
diff --git a/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.cpp b/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.cpp index d179ac3bef3..6317061f8da 100644 --- a/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.cpp +++ b/searchcore/src/vespa/searchcore/fdispatch/program/searchadapter.cpp @@ -66,12 +66,8 @@ SearchAdapter::createReply() _queryResult->_groupResult + _queryResult->_groupResultLen); } - if ((_request->queryFlags & - search::fs4transport::QFLAG_REPORT_COVERAGE) != 0) - { - r.useCoverage = true; - r.coverage = SearchReply::Coverage(_searchInfo->_activeDocs, _searchInfo->_coverageDocs); - } + r.useCoverage = true; + r.coverage = SearchReply::Coverage(_searchInfo->_activeDocs, _searchInfo->_coverageDocs); FastS_hitresult *hitbuf = _queryResult->_hitbuf; r.hits.resize(hitcnt); diff --git a/searchcore/src/vespa/searchcore/fdispatch/search/fnet_search.cpp b/searchcore/src/vespa/searchcore/fdispatch/search/fnet_search.cpp index 4a3f43b5c2d..fe0d9aab46f 100644 --- a/searchcore/src/vespa/searchcore/fdispatch/search/fnet_search.cpp +++ b/searchcore/src/vespa/searchcore/fdispatch/search/fnet_search.cpp @@ -1175,8 +1175,7 @@ FastS_FNET_Search::setupQueryPacket(uint32_t hitsPerNode, uint32_t qflags, FastS_ISearch::RetCode FastS_FNET_Search::ProcessQueryDone() { - if (_util.IsQueryFlagSet(search::fs4transport::QFLAG_REPORT_COVERAGE)) - CheckCoverage(); + CheckCoverage(); if (_errorCode == search::engine::ECODE_NO_ERROR) { MergeHits(); diff --git a/searchlib/src/vespa/searchlib/common/transport.h b/searchlib/src/vespa/searchlib/common/transport.h index 45d68bfc65c..887a75ff1a1 100644 --- a/searchlib/src/vespa/searchlib/common/transport.h +++ b/searchlib/src/vespa/searchlib/common/transport.h @@ -36,7 +36,6 @@ enum queryflags { QFLAG_REPORT_QUEUELEN = 0x00000008, QFLAG_ESTIMATE = 0x00000080, QFLAG_DROP_SORTDATA = 0x00004000, - QFLAG_REPORT_COVERAGE = 0x00008000, QFLAG_NO_RESULTCACHE = 0x00010000, QFLAG_DUMP_FEATURES = 0x00040000 }; |