public sealed class NearestNeighborQuery.Types.Parameters : IMessage<NearestNeighborQuery.Types.Parameters>, IEquatable<NearestNeighborQuery.Types.Parameters>, IDeepCloneable<NearestNeighborQuery.Types.Parameters>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1beta1 API class NearestNeighborQuery.Types.Parameters.
Parameters that can be overrided in each query to tune query latency and
recall.
public double LeafNodesSearchFraction { get; set; }
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-15 UTC."],[[["This document provides reference information for the `NearestNeighborQuery.Types.Parameters` class within the Vertex AI v1beta1 API, detailing its structure and usage."],["The `NearestNeighborQuery.Types.Parameters` class allows for tuning query latency and recall by overriding parameters in each query."],["The class implements multiple interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, enhancing its functionality and integration capabilities."],["Key properties of this class include `ApproximateNeighborCandidates` (an integer) and `LeafNodesSearchFraction` (a double), both of which are optional and allow for customization of the nearest neighbor search."],["Two constructors are available: a default `Parameters()` constructor, and a `Parameters(Parameters other)` constructor, which accepts another `NearestNeighborQuery.Types.Parameters` object as an argument."]]],[]]