summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorArne H Juul <arnej27959@users.noreply.github.com>2021-03-26 20:11:34 +0100
committerGitHub <noreply@github.com>2021-03-26 20:11:34 +0100
commitb7b6696e67907fffcffeb0b9eb6cd79d13e5a4d1 (patch)
tree9582fffa8cdd8dde636f8206cb8ce279c5d4dc50 /searchcore
parentd69a27ed2fade9e7f1b4c47fa6995561835333d5 (diff)
parent47dae5a7ccb78282e9db7e6b305562a9e0c195f4 (diff)
Merge pull request #17212 from vespa-engine/geirst/remove-serialized-tensor-attribute
Remove SerializedTensorAttribute that is replaced by SerializedFastVa…
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp b/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp
index c74c93a376a..e92f0363ec2 100644
--- a/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp
+++ b/searchcore/src/tests/proton/common/attribute_updater/attribute_updater_test.cpp
@@ -30,7 +30,7 @@
#include <vespa/searchlib/attribute/attributefactory.h>
#include <vespa/searchlib/attribute/reference_attribute.h>
#include <vespa/searchlib/tensor/dense_tensor_attribute.h>
-#include <vespa/searchlib/tensor/serialized_tensor_attribute.h>
+#include <vespa/searchlib/tensor/serialized_fast_value_attribute.h>
#include <vespa/searchlib/test/weighted_type_test_utils.h>
#include <vespa/vespalib/stllike/hash_map.hpp>
#include <vespa/vespalib/testkit/testapp.h>
@@ -50,7 +50,7 @@ using search::attribute::Reference;
using search::attribute::ReferenceAttribute;
using search::tensor::ITensorAttribute;
using search::tensor::DenseTensorAttribute;
-using search::tensor::SerializedTensorAttribute;
+using search::tensor::SerializedFastValueAttribute;
using search::tensor::TensorAttribute;
using vespalib::eval::SimpleValue;
using vespalib::eval::TensorSpec;
@@ -459,7 +459,7 @@ TEST_F("require that tensor modify update is applied",
}
TEST_F("require that tensor add update is applied",
- TensorFixture<SerializedTensorAttribute>("tensor(x{})", "sparse_tensor"))
+ TensorFixture<SerializedFastValueAttribute>("tensor(x{})", "sparse_tensor"))
{
f.setTensor(TensorSpec(f.type).add({{"x", "a"}}, 2));
f.applyValueUpdate(*f.attribute, 1,
@@ -468,7 +468,7 @@ TEST_F("require that tensor add update is applied",
}
TEST_F("require that tensor add update to non-existing tensor creates empty tensor first",
- TensorFixture<SerializedTensorAttribute>("tensor(x{})", "sparse_tensor"))
+ TensorFixture<SerializedFastValueAttribute>("tensor(x{})", "sparse_tensor"))
{
f.applyValueUpdate(*f.attribute, 1,
TensorAddUpdate(makeTensorFieldValue(TensorSpec(f.type).add({{"x", "a"}}, 3))));
@@ -476,7 +476,7 @@ TEST_F("require that tensor add update to non-existing tensor creates empty tens
}
TEST_F("require that tensor remove update is applied",
- TensorFixture<SerializedTensorAttribute>("tensor(x{})", "sparse_tensor"))
+ TensorFixture<SerializedFastValueAttribute>("tensor(x{})", "sparse_tensor"))
{
f.setTensor(TensorSpec(f.type).add({{"x", "a"}}, 2).add({{"x", "b"}}, 3));
f.applyValueUpdate(*f.attribute, 1,