summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-12-03 08:10:19 +0000
committerArne Juul <arnej@verizonmedia.com>2020-12-03 08:24:48 +0000
commitfd18a4b076cefcacaaf4a35e7a89dff0a3e36b1c (patch)
tree93601b34622cb98ad93b9ec259cce5ce04a5f216 /searchcore
parenta30f94af8019b0316d893fcc45b7f84df6ba068d (diff)
no more default tensor engine
* disallow using engine as default * remove DefaultTensorEngine as a configurable implementation
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/proton.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/proton.cpp b/searchcore/src/vespa/searchcore/proton/server/proton.cpp
index fa7ea039798..c2b57734903 100644
--- a/searchcore/src/vespa/searchcore/proton/server/proton.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/proton.cpp
@@ -19,7 +19,6 @@
#include <vespa/document/repo/documenttyperepo.h>
#include <vespa/eval/eval/engine_or_factory.h>
#include <vespa/eval/eval/fast_value.h>
-#include <vespa/eval/tensor/default_tensor_engine.h>
#include <vespa/searchcore/proton/flushengine/flush_engine_explorer.h>
#include <vespa/searchcore/proton/flushengine/flushengine.h>
#include <vespa/searchcore/proton/flushengine/tls_stats_factory.h>
@@ -78,7 +77,7 @@ void
set_tensor_implementation(const ProtonConfig& cfg)
{
if (cfg.tensorImplementation == ProtonConfig::TensorImplementation::TENSOR_ENGINE) {
- EngineOrFactory::set(vespalib::tensor::DefaultTensorEngine::ref());
+ LOG(error, "Old tensor engine implementation no longer available");
} else if (cfg.tensorImplementation == ProtonConfig::TensorImplementation::FAST_VALUE) {
EngineOrFactory::set(vespalib::eval::FastValueBuilderFactory::get());
}