aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-05-28 14:00:13 +0000
committerArne Juul <arnej@verizonmedia.com>2020-05-28 14:06:09 +0000
commit6366e23e0f46b4ddb0488e4541c46cfcc126a2e4 (patch)
treeb146e1d8b2381de84c0b19290311725cd269aacf /searchcore
parent17d88084e6b898bacc44b2805206d552c14cd167 (diff)
implement createFilterSearch in whitelist blueprint
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp
index 95e8a2d738f..dec83b9bca7 100644
--- a/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp
+++ b/searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp
@@ -210,8 +210,11 @@ private:
{
assert(tfmda.size() == 0);
(void) tfmda;
- search::fef::TermFieldMatchData *tfmd =
- new search::fef::TermFieldMatchData;
+ return createFilterSearch(strict, FilterConstraint::UPPER_BOUND);
+ }
+
+ SearchIterator::UP createFilterSearch(bool strict, FilterConstraint) const override {
+ auto tfmd = new search::fef::TermFieldMatchData;
{
std::lock_guard<std::mutex> lock(_lock);
_matchDataVector.push_back(tfmd);