summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/documentmetastore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-06-22 16:45:55 +0200
committerHenning Baldersheim <balder@yahoo-inc.com>2017-06-22 16:45:55 +0200
commit53f3e7df59175656e067c2732503309b0b474edb (patch)
tree352a20e9a23f19f7e34a9653833a2b8af23bdf0f /searchcore/src/tests/proton/documentmetastore
parent7ec35f103e2b4aaf806774c9fe6cde2d7312cdb3 (diff)
Add a searchStrict method on SimpleResult that takes docIdLimit.
Set docId limit on the BlackListBlueprint.
Diffstat (limited to 'searchcore/src/tests/proton/documentmetastore')
-rw-r--r--searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp b/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp
index 7bb0fdbdc33..4fcf7d37118 100644
--- a/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp
+++ b/searchcore/src/tests/proton/documentmetastore/documentmetastore_test.cpp
@@ -204,7 +204,7 @@ assertBlackList(const SimpleResult &exp, Blueprint::UP blackListBlueprint, bool
blackListBlueprint->fetchPostings(strict);
SearchIterator::UP sb = blackListBlueprint->createSearch(*md, strict);
SimpleResult act;
- act.search(*sb);
+ act.searchStrict(*sb, blackListBlueprint->get_docid_limit());
return EXPECT_EQUAL(exp, act);
}