diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-05-15 21:38:51 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-05-15 21:38:51 +0000 |
commit | d1d2d5d79bd235a91982ef0c018684e05e0e0ed0 (patch) | |
tree | efd01f79a8f7268d65502c82fb76645b65ae3ba7 /searchlib | |
parent | 14b1d4e23af242a3a33c032d8c40412df6368fc9 (diff) |
Since there might be a large variation in number of entries, let us not take a fixed cost up front.
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/features/attributematchfeature.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/features/attributematchfeature.cpp b/searchlib/src/vespa/searchlib/features/attributematchfeature.cpp index bae7b2a1157..bf52e5e0b5e 100644 --- a/searchlib/src/vespa/searchlib/features/attributematchfeature.cpp +++ b/searchlib/src/vespa/searchlib/features/attributematchfeature.cpp @@ -60,7 +60,6 @@ AttributeMatchExecutor<T>::Computer::Computer(const IQueryEnvironment & env, Att _valueCount(0), _md(nullptr) { - _buffer.allocate(_params.attribute->getMaxValueCount()); QueryTermHelper queryTerms(env); for (const QueryTerm & qt : queryTerms.terms()) { _totalTermWeight += qt.termData()->getWeight().percent(); |