diff options
Diffstat (limited to 'searchlib/src/vespa/searchlib/features/dotproductfeature.cpp')
-rw-r--r-- | searchlib/src/vespa/searchlib/features/dotproductfeature.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp b/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp index accd3ea694f..91326c59a1a 100644 --- a/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp +++ b/searchlib/src/vespa/searchlib/features/dotproductfeature.cpp @@ -795,7 +795,7 @@ DotProductBlueprint::visitDumpFeatures(const IIndexEnvironment &, IDumpFeatureVi } bool -DotProductBlueprint::setup(const IIndexEnvironment & env, const ParameterList & params) +DotProductBlueprint::setup(const IIndexEnvironment&, const ParameterList & params) { _defaultAttribute = params[0].getValue(); _attributeOverride = _defaultAttribute + ".override.name"; @@ -804,7 +804,6 @@ DotProductBlueprint::setup(const IIndexEnvironment & env, const ParameterList & _queryVectorKey = make_queryvector_key(getBaseName(), _queryVector); describeOutput("scalar", "The result after calculating the dot product of the vector represented by the weighted set " "and the vector sent down with the query"); - env.hintAttributeAccess(_defaultAttribute); return true; } |