diff options
author | Tor Egge <Tor.Egge@online.no> | 2021-06-22 14:15:38 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2021-06-22 14:15:38 +0200 |
commit | 1383c92d1352e8cde1c57e19029f597f23f2bd8b (patch) | |
tree | 942f2cdcac85be1f4f5ea8c7591b3e5d3a6b7de9 /searchcore | |
parent | d0adc4b2bcaaefb063b83e441376ef0c07f57a84 (diff) |
Increase reported replay operation cost for tensor attributes with HNSW index.
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/attribute/flushableattribute.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/flushableattribute.cpp b/searchcore/src/vespa/searchcore/proton/attribute/flushableattribute.cpp index ae3edc93f6d..d9d269f1e91 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/flushableattribute.cpp +++ b/searchcore/src/vespa/searchcore/proton/attribute/flushableattribute.cpp @@ -170,7 +170,7 @@ FlushableAttribute::FlushableAttribute(const AttributeVectorSP attr, if (config.basicType() == search::attribute::BasicType::Type::TENSOR && config.tensorType().is_dense() && config.hnsw_index_params().has_value()) { - _replay_operation_cost = 100.0; // replaying operations to hnsw index is 100 times more expensive than reading from tls + _replay_operation_cost = 400.0; // replaying operations to hnsw index is 400 times more expensive than reading from tls } } |