diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-05-28 14:00:13 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-05-28 14:06:09 +0000 |
commit | 6366e23e0f46b4ddb0488e4541c46cfcc126a2e4 (patch) | |
tree | b146e1d8b2381de84c0b19290311725cd269aacf /searchcore/src | |
parent | 17d88084e6b898bacc44b2805206d552c14cd167 (diff) |
implement createFilterSearch in whitelist blueprint
Diffstat (limited to 'searchcore/src')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/documentmetastore/lid_allocator.cpp | 7 |
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); |