Uses of Enum Class
com.redis.vl.extensions.router.DistanceAggregationMethod
Packages that use DistanceAggregationMethod
-
Uses of DistanceAggregationMethod in com.redis.vl.extensions.router
Methods in com.redis.vl.extensions.router that return DistanceAggregationMethodModifier and TypeMethodDescriptionstatic DistanceAggregationMethod
Get the DistanceAggregationMethod from a string value.static DistanceAggregationMethod
Returns the enum constant of this class with the specified name.static DistanceAggregationMethod[]
DistanceAggregationMethod.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.redis.vl.extensions.router with parameters of type DistanceAggregationMethodModifier and TypeMethodDescriptionSemanticRouter.route
(String text, float[] vector, DistanceAggregationMethod aggregationMethod) Route a query to the best matching route with full control.SemanticRouter.routeMany
(String text, Integer maxK, float[] vector, DistanceAggregationMethod aggregationMethod) Route a query to multiple matching routes with full control.