diff options
author | Håvard Pettersen <havardpe@oath.com> | 2020-12-03 14:10:44 +0000 |
---|---|---|
committer | Håvard Pettersen <havardpe@oath.com> | 2020-12-03 17:09:07 +0000 |
commit | 78b6e23e5de6b80ef73fabb69bc76627ee642de4 (patch) | |
tree | 4c0da9229ab912158a48f6ba2d555cb9669d985c /searchcore | |
parent | b24ac11b9d481f1e718ee60f9b88bf14b88b9cb7 (diff) |
only factory in interpreted function
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp b/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp index 7f2b8fcaa63..814d68bdb8d 100644 --- a/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/searchabledocsubdb.cpp @@ -15,6 +15,7 @@ #include <vespa/searchcore/proton/reference/gid_to_lid_change_handler.h> #include <vespa/searchlib/fef/indexproperties.h> #include <vespa/searchlib/fef/properties.h> +#include <vespa/eval/eval/fast_value.h> #include <vespa/vespalib/util/closuretask.h> using vespa::config::search::RankProfilesConfig; @@ -27,7 +28,7 @@ using search::TuneFileDocumentDB; using search::index::Schema; using search::SerialNum; using vespalib::ThreadStackExecutorBase; -using vespalib::eval::EngineOrFactory; +using vespalib::eval::FastValueBuilderFactory; using namespace searchcorespi; namespace proton { @@ -39,7 +40,7 @@ SearchableDocSubDB::SearchableDocSubDB(const Config &cfg, const Context &ctx) _indexWriter(), _rSearchView(), _rFeedView(), - _tensorLoader(EngineOrFactory::get()), + _tensorLoader(FastValueBuilderFactory::get()), _constantValueCache(_tensorLoader), _constantValueRepo(_constantValueCache), _configurer(_iSummaryMgr, _rSearchView, _rFeedView, ctx._queryLimiter, _constantValueRepo, ctx._clock, |