diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-22 16:45:55 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-06-22 16:45:55 +0200 |
commit | 53f3e7df59175656e067c2732503309b0b474edb (patch) | |
tree | 352a20e9a23f19f7e34a9653833a2b8af23bdf0f /searchcore/src/tests/proton/documentmetastore | |
parent | 7ec35f103e2b4aaf806774c9fe6cde2d7312cdb3 (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.cpp | 2 |
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); } |