public sealed class StructuredQuery.Types.FindNearest : IMessage<StructuredQuery.Types.FindNearest>, IEquatable<StructuredQuery.Types.FindNearest>, IDeepCloneable<StructuredQuery.Types.FindNearest>, IBufferMessage, IMessage
Reference documentation and code samples for the Firestore v1 API class StructuredQuery.Types.FindNearest.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis document provides reference information for the \u003ccode\u003eStructuredQuery.Types.FindNearest\u003c/code\u003e class within the Google Cloud Firestore v1 API, specifically version 3.7.0 and its related versions.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFindNearest\u003c/code\u003e is used for configuring nearest neighbors searches in Firestore, allowing you to define the distance measure, limit the number of returned neighbors, set the query vector, and specify the vector field to search upon.\u003c/p\u003e\n"],["\u003cp\u003eThe class \u003ccode\u003eStructuredQuery.Types.FindNearest\u003c/code\u003e implements multiple interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, allowing operations like deep cloning, equality comparisons, and handling of buffer messages.\u003c/p\u003e\n"],["\u003cp\u003eThe class has constructors to either initialize a new instance or make a copy from an existing \u003ccode\u003eFindNearest\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eFindNearest\u003c/code\u003e class has properties such as \u003ccode\u003eDistanceMeasure\u003c/code\u003e, \u003ccode\u003eLimit\u003c/code\u003e, \u003ccode\u003eQueryVector\u003c/code\u003e, and \u003ccode\u003eVectorField\u003c/code\u003e which are required parameters to properly configure the search, as outlined in the document.\u003c/p\u003e\n"]]],[],null,[]]