diff options
author | Arne H Juul <arnej27959@users.noreply.github.com> | 2020-12-03 19:12:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 19:12:22 +0100 |
commit | f88b7e59d00a59b623221d453e24c74e5b26c677 (patch) | |
tree | cfedc9b00df8bcbc5cad534d28c554639a3b5d2f /searchcore | |
parent | 34de8912bdfd669141633fef0d4ecd8f64830839 (diff) | |
parent | 78b6e23e5de6b80ef73fabb69bc76627ee642de4 (diff) |
Merge pull request #15646 from vespa-engine/havardpe/only-factory-in-interpreted-function
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, |