diff --git a/searchcore/src/vespa/searchcore/proton/attribute/flushableattribute.cpp b/searchcore/src/vespa/searchcore/proton/attribute/flushableattribute.cpp index 11f3f759126e..bc31c05247f7 100644 --- a/searchcore/src/vespa/searchcore/proton/attribute/flushableattribute.cpp +++ b/searchcore/src/vespa/searchcore/proton/attribute/flushableattribute.cpp @@ -173,8 +173,7 @@ FlushableAttribute::FlushableAttribute(AttributeVectorSP attr, { _lastStats.setPathElementsToLog(8); auto &config = attr->getConfig(); - if (config.basicType() == search::attribute::BasicType::Type::TENSOR && - config.tensorType().is_dense() && config.hnsw_index_params().has_value()) + if (config.basicType() == search::attribute::BasicType::Type::TENSOR && config.hnsw_index_params().has_value()) { _replay_operation_cost = 400.0; // replaying operations to hnsw index is 400 times more expensive than reading from tls }