Interface ApproximateVectorSearchOptions

All Superinterfaces:
org.bson.conversions.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
  • Field Summary

    Fields inherited from interface org.bson.conversions.Bson

    DEFAULT_CODEC_REGISTRY
  • Method Summary

    Methods inherited from interface org.bson.conversions.Bson

    toBsonDocument, toBsonDocument

    Methods inherited from interface com.mongodb.client.model.search.VectorSearchOptions

    filter, option