summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests
diff options
context:
space:
mode:
authorLester Solbakken <lesters@oath.com>2018-09-05 21:51:57 +0200
committerLester Solbakken <lesters@oath.com>2018-09-05 21:51:57 +0200
commitf41d2b1147f4fdf11c9a7df2a256823cd46e0048 (patch)
treed51f8ff756ffceb02350268de5cd9861349dc322 /searchcore/src/tests
parentae9d491d6da4200231b12df1670355070866ec75 (diff)
Don't repeat rerank-count override
Diffstat (limited to 'searchcore/src/tests')
-rw-r--r--searchcore/src/tests/proton/matching/matching_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/matching/matching_test.cpp b/searchcore/src/tests/proton/matching/matching_test.cpp
index de6a452baf3..4813bf3bdc7 100644
--- a/searchcore/src/tests/proton/matching/matching_test.cpp
+++ b/searchcore/src/tests/proton/matching/matching_test.cpp
@@ -287,7 +287,7 @@ struct MyWorld {
Matcher::SP matcher = createMatcher();
search::fef::Properties overrides;
auto mtf = matcher->create_match_tools_factory(*req, searchContext, attributeContext, metaStore, overrides);
- auto diversity = mtf->createDiversifier();
+ auto diversity = mtf->createDiversifier(search::fef::indexproperties::hitcollector::HeapSize::lookup(config));
EXPECT_EQUAL(expectDiverse, static_cast<bool>(diversity));
}