aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-05-04 14:03:53 +0200
committerHenning Baldersheim <balder@oath.com>2018-05-08 10:40:06 +0200
commitbf0a29ff2900d2248878a1db620c34246c7d26b3 (patch)
treed63aa0447ceb63c4d0567f44d85291d5336864cf
parentbd2b7899f638838362c2b858f9bc28a51fb6ae85 (diff)
Add an optional filter to the fetchPostings interface to allow prefiltering.
-rw-r--r--searchcorespi/src/vespa/searchcorespi/index/warmupindexcollection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcorespi/src/vespa/searchcorespi/index/warmupindexcollection.cpp b/searchcorespi/src/vespa/searchcorespi/index/warmupindexcollection.cpp
index 75412dcf8e9..80defaea3cb 100644
--- a/searchcorespi/src/vespa/searchcorespi/index/warmupindexcollection.cpp
+++ b/searchcorespi/src/vespa/searchcorespi/index/warmupindexcollection.cpp
@@ -220,7 +220,7 @@ WarmupIndexCollection::WarmupTask::run()
{
if (_warmup._warmupEndTime != 0) {
LOG(debug, "Warming up %s", _bluePrint->asString().c_str());
- _bluePrint->fetchPostings(true);
+ _bluePrint->fetchPostings(true, nullptr);
SearchIterator::UP it(_bluePrint->createSearch(*_matchData, true));
it->initFullRange();
for (uint32_t docId = it->seekFirst(1); !it->isAtEnd(); docId = it->seekNext(docId+1)) {