diff options
author | Henning Baldersheim <balder@oath.com> | 2018-05-24 15:16:20 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-05-24 15:16:20 +0200 |
commit | 2cbb378700db04dfd9991e3261309eb2f7304ada (patch) | |
tree | 091f0f09260a8bcd05f87329e14569f6181444fe /searchlib | |
parent | 4a4d52a9ce5b955f3242fd70b131bafa14838310 (diff) |
Backport correct initRange pattern to copy-paste source.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/queryeval/booleanmatchiteratorwrapper.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/queryeval/booleanmatchiteratorwrapper.h b/searchlib/src/vespa/searchlib/queryeval/booleanmatchiteratorwrapper.h index 3303f614a36..7cf323aa106 100644 --- a/searchlib/src/vespa/searchlib/queryeval/booleanmatchiteratorwrapper.h +++ b/searchlib/src/vespa/searchlib/queryeval/booleanmatchiteratorwrapper.h @@ -26,8 +26,9 @@ protected: void doUnpack(uint32_t docid) override; Trinary is_strict() const override { return _search->is_strict(); } void initRange(uint32_t beginid, uint32_t endid) override { + SearchIterator::initRange(beginid, endid); _search->initRange(beginid, endid); - SearchIterator::initRange(_search->getDocId()+1, _search->getEndId()); + setDocId(_search->getDocId()); } public: |