BetaOptional BetadistanceField?: stringIf set, specifies the field on the output documents that will contain the computed vector distance for the document. If not set, the computed vector distance will not be returned.
BetadistanceMeasure: "euclidean" | "cosine" | "dot_product"Specifies the method used to compute the distance between vectors. Possible values are: 'euclidean', 'cosine', 'dot_product'.
Betafield: Field | stringSpecifies the field to be used. This can be a string representing the field path (e.g., 'fieldName', 'nested.fieldName') or an object of type Field representing a more complex field expression.
Optional Betalimit?: numberThe maximum number of documents to return from the FindNearest stage.
BetavectorValue: VectorValue | number[]Specifies the query vector value, to which the vector distance will be computed.
Options for FindNearest stage (vector search).