summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/searchcontext
diff options
context:
space:
mode:
authorHåvard Pettersen <havardpe@oath.com>2018-08-10 14:32:56 +0000
committerHåvard Pettersen <havardpe@oath.com>2018-08-14 09:47:43 +0000
commitb5819c74e563b46a39e2949348b7de01d16b96ae (patch)
tree6708b4a4e39c0073e7c79146a5885e3e7c4b3271 /searchlib/src/tests/attribute/searchcontext
parent4f9bd36ae68cafc82e010be1c5e3e8883b721bb8 (diff)
expose 2nd phase candidates as a referencing sorted hit sequence
also stop keeping track of the re-rank count in the hit collector itself
Diffstat (limited to 'searchlib/src/tests/attribute/searchcontext')
-rw-r--r--searchlib/src/tests/attribute/searchcontext/searchcontext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/tests/attribute/searchcontext/searchcontext.cpp b/searchlib/src/tests/attribute/searchcontext/searchcontext.cpp
index 85492df7016..0f6f7bdade7 100644
--- a/searchlib/src/tests/attribute/searchcontext/searchcontext.cpp
+++ b/searchlib/src/tests/attribute/searchcontext/searchcontext.cpp
@@ -429,7 +429,7 @@ SearchContextTest::getSearch(const V & vec, const T & term, QueryTermSimple::Sea
ResultSetPtr
SearchContextTest::performSearch(SearchIterator & sb, uint32_t numDocs)
{
- HitCollector hc(numDocs, numDocs, 0);
+ HitCollector hc(numDocs, numDocs);
sb.initRange(1, numDocs);
// assume strict toplevel search object located at start
for (sb.seek(1u); ! sb.isAtEnd(); sb.seek(sb.getDocId() + 1)) {