NearestNeighborQuery_Parameters class final
Parameters that can be overrided in each query to tune query latency and recall.
- Inheritance
-
- Object
- ProtoMessage
- NearestNeighborQuery_Parameters
Constructors
- NearestNeighborQuery_Parameters({int approximateNeighborCandidates = 0, double leafNodesSearchFraction = 0})
- NearestNeighborQuery_Parameters.fromJson(Object? j)
-
factory
Properties
- approximateNeighborCandidates → int
-
Optional. The number of neighbors to find via approximate search before
exact reordering is performed; if set, this value must be >
neighbor_count.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- leafNodesSearchFraction → double
-
Optional. The fraction of the number of leaves to search, set at query
time allows user to tune search performance. This value increase result
in both search accuracy and latency increase. The value should be between
0.0 and 1.0.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fullyQualifiedName → const String