summaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/features/distancetopathfeature.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchlib/src/vespa/searchlib/features/distancetopathfeature.cpp')
-rw-r--r--searchlib/src/vespa/searchlib/features/distancetopathfeature.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/searchlib/src/vespa/searchlib/features/distancetopathfeature.cpp b/searchlib/src/vespa/searchlib/features/distancetopathfeature.cpp
index 3469d776960..4ebfca90f84 100644
--- a/searchlib/src/vespa/searchlib/features/distancetopathfeature.cpp
+++ b/searchlib/src/vespa/searchlib/features/distancetopathfeature.cpp
@@ -112,15 +112,13 @@ DistanceToPathBlueprint::createInstance() const
}
bool
-DistanceToPathBlueprint::setup(const search::fef::IIndexEnvironment & env,
+DistanceToPathBlueprint::setup(const search::fef::IIndexEnvironment&,
const search::fef::ParameterList & params)
{
_posAttr = params[0].getValue();
describeOutput("distance", "The euclidean distance from the query path.");
describeOutput("traveled", "The normalized distance traveled along the path before intersection.");
describeOutput("product", "The cross-product of the intersecting line segment and the intersection-to-document vector.");
- env.hintAttributeAccess(_posAttr);
- env.hintAttributeAccess(document::PositionDataType::getZCurveFieldName(_posAttr));
return true;
}