Interface ApproximateVectorSearchOptions

All Superinterfaces:
Bson, VectorSearchOptions

@Sealed public interface ApproximateVectorSearchOptions extends VectorSearchOptions
Represents optional fields of the $vectorSearch pipeline stage of an aggregation pipeline.

Configures approximate vector search for Atlas Vector Search to enable searches that may not return the exact closest vectors.

Since:
5.2
See Also:
MongoDB Atlas documentation
$vectorSearch
Since server release
7.0.2