summaryrefslogtreecommitdiffstats
path: root/searchsummary
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@yahoo-inc.com>2016-11-30 10:54:32 +0000
committerTor Egge <Tor.Egge@yahoo-inc.com>2016-11-30 10:54:32 +0000
commit0113845ca015841ef2148337cdd9aac29c83e8a5 (patch)
tree6ecc9d831299befe2115eb93d670387334ece2b3 /searchsummary
parent1845c6c3ab5f870beec72dd85f764bf65adb1e82 (diff)
Move tensor attribute to search::tensor namespace.
Diffstat (limited to 'searchsummary')
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/attributedfw.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/attributedfw.cpp b/searchsummary/src/vespa/searchsummary/docsummary/attributedfw.cpp
index d6504c90c46..5059e859e41 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/attributedfw.cpp
+++ b/searchsummary/src/vespa/searchsummary/docsummary/attributedfw.cpp
@@ -137,8 +137,8 @@ SingleAttrDFW::WriteField(uint32_t docid,
BasicType::Type t = v.getBasicType();
switch (t) {
case BasicType::TENSOR: {
- const attribute::TensorAttribute &tv =
- static_cast<const attribute::TensorAttribute &>(v);
+ const tensor::TensorAttribute &tv =
+ static_cast<const tensor::TensorAttribute &>(v);
const auto tensor = tv.getTensor(docid);
vespalib::string str;
if (tensor) {
@@ -226,8 +226,8 @@ SingleAttrDFW::insertField(uint32_t docid,
BasicType::Type t = v.getBasicType();
switch (t) {
case BasicType::TENSOR: {
- const attribute::TensorAttribute &tv =
- static_cast<const attribute::TensorAttribute &>(v);
+ const tensor::TensorAttribute &tv =
+ static_cast<const tensor::TensorAttribute &>(v);
const auto tensor = tv.getTensor(docid);
if (tensor) {
vespalib::tensor::SlimeBinaryFormat::serialize(target, *tensor);