diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2023-11-14 22:09:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-14 22:09:51 +0100 |
commit | eba8370745e8531d41d9a2a94b6fa148e0895d84 (patch) | |
tree | 415aa3303379811bae61f254c972a42ea71e217a /searchlib/src/vespa/searchlib/attribute/postingstore.cpp | |
parent | 43e875554b99d1d5a51cf3628aa2c3d731363514 (diff) | |
parent | 16d6f96c09716227e9b847c4c4e534e692401a02 (diff) |
Merge pull request #29334 from vespa-engine/balder/more-eager-to-create-bitvectorv8.259.15
Only allow use of bitvector if it is a filter
Diffstat (limited to 'searchlib/src/vespa/searchlib/attribute/postingstore.cpp')
-rw-r--r-- | searchlib/src/vespa/searchlib/attribute/postingstore.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/postingstore.cpp b/searchlib/src/vespa/searchlib/attribute/postingstore.cpp index b9f4fd5ceca..2e9e5470b5f 100644 --- a/searchlib/src/vespa/searchlib/attribute/postingstore.cpp +++ b/searchlib/src/vespa/searchlib/attribute/postingstore.cpp @@ -44,8 +44,8 @@ PostingStoreBase2::resizeBitVectors(uint32_t newSize, uint32_t newCapacity) newSize = newCapacity; if (newSize == _bvSize && newCapacity == _bvCapacity) return false; - _minBvDocFreq = std::max(newSize >> 6, 64u); - _maxBvDocFreq = std::max(newSize >> 5, 128u); + _minBvDocFreq = std::max(newSize >> 7, 64u); + _maxBvDocFreq = std::max(newSize >> 6, 128u); if (_bvs.empty()) { _bvSize = newSize; _bvCapacity = newCapacity; |