diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-06-18 18:11:33 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-06-19 11:20:22 +0200 |
commit | 5c15bc48b16c9c86ffce7f73f3fcb5d3fba0fcd8 (patch) | |
tree | 308dcc4a8fd1c40df4c73526e934e6133df17896 /searchcore/src/tests/proton/matching | |
parent | a74a8703830bb4d8656ea626a085c6966de5c06d (diff) |
Wire in nearest neighbor brute force limit.
Diffstat (limited to 'searchcore/src/tests/proton/matching')
-rw-r--r-- | searchcore/src/tests/proton/matching/request_context/request_context_test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/matching/request_context/request_context_test.cpp b/searchcore/src/tests/proton/matching/request_context/request_context_test.cpp index c3338a973c4..3b54768f223 100644 --- a/searchcore/src/tests/proton/matching/request_context/request_context_test.cpp +++ b/searchcore/src/tests/proton/matching/request_context/request_context_test.cpp @@ -3,10 +3,12 @@ #include <vespa/eval/eval/tensor_spec.h> #include <vespa/eval/tensor/default_tensor_engine.h> #include <vespa/searchcore/proton/matching/requestcontext.h> +#include <vespa/searchlib/attribute/attribute_blueprint_params.h> #include <vespa/searchlib/fef/properties.h> #include <vespa/vespalib/gtest/gtest.h> #include <vespa/vespalib/objects/nbostream.h> +using search::attribute::AttributeBlueprintParams; using search::attribute::IAttributeContext; using search::attribute::IAttributeFunctor; using search::attribute::IAttributeVector; @@ -45,7 +47,7 @@ public: _doom(_clock, vespalib::steady_time(), vespalib::steady_time(), false), _attr_ctx(), _props(), - _request_ctx(_doom, _attr_ctx, _props), + _request_ctx(_doom, _attr_ctx, _props, AttributeBlueprintParams()), _query_tensor(DefaultTensorEngine::ref().from_spec(TensorSpec("tensor(x[2])") .add({{"x", 0}}, 3).add({{"x", 1}}, 5))) { |