diff options
Diffstat (limited to 'searchlib/src/vespa/searchlib/attribute/imported_search_context.cpp')
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/imported_search_context.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/imported_search_context.cpp b/searchlib/src/vespa/searchlib/attribute/imported_search_context.cpp index bfcd7f29f29..8b60d02a457 100644 --- a/searchlib/src/vespa/searchlib/attribute/imported_search_context.cpp +++ b/searchlib/src/vespa/searchlib/attribute/imported_search_context.cpp @@ -44,8 +44,7 @@ ImportedSearchContext::ImportedSearchContext( } -ImportedSearchContext::~ImportedSearchContext() { -} +ImportedSearchContext::~ImportedSearchContext() = default; unsigned int ImportedSearchContext::approximateHits() const { return _reference_attribute.getNumDocs(); @@ -227,11 +226,11 @@ ImportedSearchContext::considerAddSearchCacheEntry() } } -void ImportedSearchContext::fetchPostings(bool strict) { +void ImportedSearchContext::fetchPostings(bool strict, const BitVector * filter) { assert(!_fetchPostingsDone); _fetchPostingsDone = true; if (!_searchCacheLookup) { - _target_search_context->fetchPostings(strict); + _target_search_context->fetchPostings(strict, filter); if (strict || _target_attribute.getIsFastSearch()) { makeMergedPostings(_target_attribute.getIsFilter()); considerAddSearchCacheEntry(); |