summaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-11-07 20:13:14 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-11-07 20:13:14 +0000
commit11bd48b6a5dbb10f7d25d2f225870fd3ccbd1d0d (patch)
tree46651646687791fc3f11dd54c80be3fe32a608d3 /searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp
parent092a7ed71ffbe6450f7f2c09a87c466432224091 (diff)
Clearly separate convenience methods only used for testing.
Diffstat (limited to 'searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp')
-rw-r--r--searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp b/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp
index 91b6efc26a6..343a5c8e38b 100644
--- a/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp
+++ b/searchlib/src/tests/attribute/searchcontext/searchcontext_test.cpp
@@ -216,7 +216,7 @@ private:
// test search iterator unpacking
void fillForSearchIteratorUnpackingTest(IntegerAttribute * ia, bool extra);
void testSearchIteratorUnpacking(const AttributePtr & ptr, SearchContext & sc, bool extra, bool strict) {
- sc.fetchPostings(queryeval::ExecuteInfo::create(strict, 1.0));
+ sc.fetchPostings(queryeval::ExecuteInfo::createForTest(strict));
for (bool withElementId : {false, true}) {
testSearchIteratorUnpacking(ptr, sc, extra, strict, withElementId);
}
@@ -649,7 +649,7 @@ public:
~Verifier() override;
SearchIterator::UP
create(bool strict) const override {
- _sc->fetchPostings(queryeval::ExecuteInfo::create(strict, 1.0));
+ _sc->fetchPostings(queryeval::ExecuteInfo::createForTest(strict));
return _sc->createIterator(&_dummy, strict);
}
private: