summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorArne H Juul <arnej27959@users.noreply.github.com>2020-06-02 11:31:02 +0200
committerGitHub <noreply@github.com>2020-06-02 11:31:02 +0200
commit8a3850679c830c2b56e1b0d6f8c387dfa9b2aa62 (patch)
tree690a874a51be9338f93e55a3bc476f5337f47af6 /searchcore
parentaa7d2d50ae977f1e3bac4f12a09d64106d0b2742 (diff)
parentcceb654d43601f670c9b9a47fa93f6b23079e57b (diff)
Merge pull request #13421 from vespa-engine/arnej/more-intermediate-filters
Arnej/more intermediate filters
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);